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.
Drupal 10 maintenance and development

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • chart icon14,663 sites report using this module
  • Created by mglaman on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases