Aquesta extensió no s'ha provat en les darreres 3 versions majors del WordPress. Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat quan s'usa en versions recents del WordPress.

Fix Image Rotation


Fix Image Rotation plugin fixes image orientation based on EXIF data. Fixes the mis-oriented images clicked via mobile phones.


You do not need to install this plugin if you’re running WordPress 5.3 or higher, because this plugin’s functionality is merged into WordPress core since WordPress 5.3

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.

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.


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


  • Adding images of different orientations without this plugin.
  • Adding images of different orientations with this plugin.


  1. Add the plugin’s directory in the WordPress’ plugin directory.
  2. Activate the plugin.
  3. Enjoy your cup of coffee while the plugin takes care of the images.


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.

Where’s the settings page?

This plugin works out of the box and does not require any settings.

Can I contribute to the plugin?

Yes you can. As mentioned in the description, just fork the GitHub Repo, make changes and send pull requests.
You can even contribute by adding banner images and logos for the plugin. If you are familiar with GitHub, then fork the above repo and add the images in a folder named assets, and send pull request; else you can submit URLs to the images as support request.


13 gener 2020
Honestly for any free plugin to work 90% of the time out of the box is enough for me. No, it's not perfect but it's free. I have seen paid plugins with more issues. A big thanks to the developer for saving me a headache. 5 stars from me.
22 octubre 2019
I was in the midst of uploading 30 pictures when I remembered how WordPress doesn't rotate the pictures for me. I found this plugin, activated it in a different browser window, and it instantly began to work on the pictures that were uploading. Fantastic!
11 octubre 2019
Installed plugin on WP 5.2.3 with minimal other plugins. Images are not correctly reoriented after upload from an iPhone. The plugin worked for the first upload, then stopped working. I'm back to manually editing the orientation of the images in the Media editor.
Llegiu totes les 25 ressenya

Col·laboradors i desenvolupadors

"Fix Image Rotation" és programari de codi obert. La següent gent ha contribuït en aquesta extensió.


Registre de canvis


  • Remove extra rows below plugin details.
  • Add admin notice if exif extension not loaded or exif_read_data function does not exist or is disabled.


  • Adds “PHP EXIF MODULE LOADED” and “EXIF_READ_DATA CALLABLE” below plugin details.
  • Prevent undefined function call to wp_read_image_metadata in rare cases.
  • Handle file endings with uppercase as well.
  • Some performance patches.
  • WordPress Coding Standards compatibility.


  • Moved hooks registrations outside constructor.


  • Updates correct orientation of fixed images in WordPress metadata of the image.


  • Fix for PNG files being sent for orientation correction while PNG files don’t even have EXIF data.
  • Fix for Restoration of meta data when GD Library is being used.
  • Testing with WordPress 4.8.1 and fixing some related issues.


  • Initial Release