Closed abrookbanks closed 6 months ago
If an image is uploaded that's been taken on a device that adds an orientation header thumbnails need to respect this and rotate accordingly.
In the picture above the resized image has disregarded the Orientation of the image set in the source file.
Useful test cases https://github.com/recurser/exif-orientation-examples
Working beautifully now. Tested on live merchant store with thousands of incorrect thumbnails that were ignoring the exif orientation.
If an image is uploaded that's been taken on a device that adds an orientation header thumbnails need to respect this and rotate accordingly.
In the picture above the resized image has disregarded the Orientation of the image set in the source file.