- π¨π¦Canada awasson
@Nathan Tsai is correct, this is an issue with Drupal 8 and Drupal 9. I will create a new issue specific to the D8, 9, 10 version.
Most of our clients upload big images that are a couple megs. To help with disk space I use the "Maximum image resolution" setting on almost all of my image fields. Using that setting scales the image before it is saved to disk and helps save disk space.
The issue with using "Maximum image resolution" in the image field settings is it will scale the image before this module runs. Once the scale happens the image no longer contains the EXIF data. Which makes the rotation not fire.
I was looking through Drupal core and this here are the related functions that are scaling the image if it is over the max dimensions.
https://api.drupal.org/api/drupal/includes%21file.inc/function/file_vali...
https://api.drupal.org/api/drupal/includes%21file.inc/function/file_vali... https://api.drupal.org/api/drupal/modules%21image%21image.field.inc/func...
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
@Nathan Tsai is correct, this is an issue with Drupal 8 and Drupal 9. I will create a new issue specific to the D8, 9, 10 version.