Bug #61655
closedImage rescaling breaks/ignores exif orientation
0%
Description
The f:image view helper does not seem to respect the exif orientation setting of JPEGs.
When uploading JPEGs taken with some kind of phone (like Android), and using the minHeight/minWidth option of the image view helper, all the images taken in portrait mode get rotated by 90°.
This is really annoying since the only way to fix it is to edit the image, rotate it and remove all exif data.
Files
Updated by Claus Due about 9 years ago
- Category changed from Fluid to Image Cropping
Moved to image generation category as it applies everywhere, not just in Fluid ViewHelpers.
Updated by Mathias Brodala almost 8 years ago
Notice that this actually applies to every location which handles resources in TYPO3. If you upload images with EXIF orientation tags, they are processed without respecting this.
There are great examples in the following repository, simply upload them through the TYPO3 file module and you'll see that width/height is wrong and the thumbnails are generated accordingly:
https://github.com/recurser/exif-orientation-examples
To fix this we first need to decide how to handle this:
- Read the orientation upon indexing and apply it physically: no change necessary in other locations of TYPO3 but this reduces image quality.
- Store the image orientation in metadata or similar and fix all locations within TYPO3 to respect it for processing: obviously a lot more work but the best solution to leave images unchanged.
Updated by Riccardo De Contardi about 7 years ago
- Related to Bug #69274: Portrait Images rotated while file processing added
Updated by Susanne Moog about 7 years ago
- Category changed from Image Cropping to Image Generation / GIFBUILDER
Updated by Riccardo De Contardi over 5 years ago
- Status changed from New to Closed
This is solved for version 9.5 and higher with #69274 - tested with "Text and Images" CE - therefore I close it.
If you think that this is the wrong decision (or experience the issue again), please reopen it or open a new issue with a reference to this one.
Thank you and best regards