Fix Image Rotation
Fix Image Rotation plugin fixes image orientation based on EXIF data. Fixes the mis-oriented images clicked via mobile phones. Functionally it filters all uploads and if EXIF->Orientation is set to a number greater than 1, then the image is re-saved with a new orientation before the image is process
Fix Image Rotation plugin fixes image orientation based on EXIF data. Fixes the mis-oriented images clicked via mobile phones.
Functionally it filters all uploads and if EXIF->Orientation is set to a number greater than 1, then the image is re-saved with a new orientation before the image is processed by WordPress.
Though this functionality was implemented in WordPress 5.3, it is still broken in WordPress and does not take care of edge cases that this plugin handles
Special Thanks to
Shashwat Mittal for meta data restoration of rotated images. Mark Jaquith for making the fix image rotation class more useful. @tealborder for adding required library notice in plugins menu. @broberson for finding and fixing and issue with the plugin. Benedikt for multiple contributions towards betterment of the plugin.
Contribute
To contribute to the plugin fork the GitHub Repo , make changes and send pull requests.
Icon Attribution
Icons made by Picol is licensed by CC 3.0 BY
Screenshots & previews.
- 01Add the plugin’s directory in the WordPress’ plugin directory.
- 02Activate the plugin.
- 03Enjoy your cup of coffee while the plugin takes care of the images.
Frequently asked questions.
How it works?
When an image is clicked by a camera or a phone, it stores some additional information about the image. One such information is Orientation. This plugin makes use of the Orientation value stored by the camera/phone and rotates or flips the image based on that.