This module reads EXIF data to rotate images that have an Orientation key set. This module solves the issue where iOS devices take images in one position but set an EXIF Orientation value, leaving applications viewing the image responsible for rotating the image.

This module spawned from a patch for File Entity: #2290011: Before saving, rotate images to EXIF Orientation, if available

More info on EXIF orientation: http://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling...

NOTE: There appears to be an issue in core with imagerotate() and PHP 5.5: #2215369: Various bugs with PHP 5.5 imagerotate(), including when incorrect color indices are passed in. 7.x patch is in works. (Thanks GuyPaddock

Supporting organizations: 
Initial module creation.

Project information

Downloads