Some images (below) have the EXIF data Orientation set to 6.
The system needs to respect that and generate the thumbnails appropriately. Maybe detect the orientation, rotate it to be upright, and strip the orientation meta data to prevent browsers from applying the EXIF data to the already-rotated image.
Implementation would take place in PhotoUploader as one of the process steps in both the original and :thumb versions.
Some images (below) have the EXIF data
Orientation
set to6
.The system needs to respect that and generate the thumbnails appropriately. Maybe detect the orientation, rotate it to be upright, and strip the orientation meta data to prevent browsers from applying the EXIF data to the already-rotated image.
Implementation would take place in
PhotoUploader
as one of theprocess
steps in both the original and:thumb
versions.References: http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/EXIF.html https://github.com/mceachen/exiftool https://github.com/minimagick/minimagick