Image Rotation Fixer

Plugin Banner

Image Rotation Fixer

by Mert Yazıcıoğlu

Download
Description

Automatically fixes the rotation of JPEG images using PHP’s EXIF extension, immediately after they are uploaded to the server. Plugin requires no configuration, it simply hooks itself to WordPress’ upload procedure and takes care of everything.

Developed during my internship at DX Wave.

  1. Upload image-rotation-fixer to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Installation Instructions

  1. Upload image-rotation-fixer to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Are there any requirements?

Yes, the plugin requires PHP’s EXIF extension to be enabled.

Do I need to make any configurations?

No, the plugin takes care of everything and automatically rotates all your JPEG images immediately after they are uploaded.

Didn't work at all

By seanferd on September 4, 2017

Didn't do anything after activation

Not working with GitHub EXIF examples either

By dozza on February 22, 2017

I want a solution to this issue, and after reading Dave Perrett's excellent post on EXIF Orientation values here I tried this plugin with the example test images on GitHub here. By default with WordPress vanilla install currently, the images uploaded to the media library and placed in a post are not 'corrected' and maintain their incorrect orientation, which is not good. After adding & activating the plugin, deleting the images permanently and then importing them again, I got the same result. So it seems the plugin has no effect. Can anyone else corroborate this? Getting the same result with this. UPDATE: After testing this (which didn't work) and many other plugins, I've confirmed that Fix Image Rotation plugin does work with 4.7.2 version of WordPress (vanilla).

Doesn't work

By Pierre P. (pjoy) on September 3, 2016

+ It breaks whatever image you try to upload.

Take a photo on mobile, it uploads as solid black

By Jake Snyder (ekaj) on September 3, 2016

I tested repeatedly, but if I take the image during upload, it shows up as solid black when this plugin is active. So it didn't fix the problem, it destroyed the image. Not sure if this is only when taking the photo at the time of upload or not. I am also using jQuery cropit, so it could be the combination.

Didn't work for me

By InSightGraphicDesign on September 3, 2016

My problem is some vertical images uploaded from iPhone 6s plus are rotated 90°. Without this plugin, WordPress corrects all the generated thumbnail sizes, but leaves the original full size image sideways. With this plugin activated, WordPress doesn't correct any of the thumbnails, so all sizes, including the original full size, are sideways.

Worked

By giglinx on September 3, 2016

Was having issued with iphone uploads rotating. Worked within seconds

Didn't work

By gailm9 on September 3, 2016

I tried using this plugin to fix the rotation issue when uploading images from computer. All images load sideways. Once this plugin is activated, images do not upload at all. I get the error message below.

Warning: imagejpeg() expects parameter 1 to be resource, boolean given in /home3/wabafg0aatuu/public_html/wp-content/plugins/image-rotation-fixer/image-rotation-fixer.php on line 89
2441

This solved my problem in a second!

By danaregi on September 3, 2016

Thank you

1.0

  • Initial release.
Back to top