Support » Fixing WordPress » “Rotate Image” does nothing

  • Resolved MetalMusicMan

    (@metalmusicman)


    I have 4 different sites, some on 4.6 and some on 4.7, and none of them will rotate images anymore. I’m not sure when this started happening, but it definitely worked at one point within the last month or two. The sites are all using different themes and the issue persists even on the stock Twenty Seventeen theme.

    When I click an image and select “edit original”, I can crop, I can flip horizontal, I can flip vertical. But the Rotate Left and Rotate Right buttons do nothing. The image goes gray for a split second like it’s thinking about rotating, then it just stays in its present orientation.

    The issue is NOT “exif” related, so please don’t confuse this with the common iPhone/IOS/EXIF data stuff. The issue happens with all images, even the sample pictures from Windows 7 and pictures that are just made in Photoshop and have no EXIF data. This has nothing to do with cell phones or EXIF data.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Volunteer

    It works on my 2017 test site, so let’s think about what might be wrong on yours.

    1. Are all sites on the same host? If so, then (a) do you have all the image stuff installed (gd, ImageMagick, php-gd, pecl imagick) (b) are you running low on space on any partitions and (c) anything in your server logs (like OOM messages in /var/log/messages)?

    2. Could it be a conflict? Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    Thread Starter MetalMusicMan

    (@metalmusicman)

    I just tested a site with all plugins disabled and the issue persists. I tested the same site with no plugins on Twenty Seventeen theme and the issue persists.

    The four sites are all hosted under 1and1, but not under the same usernames/packages. I use CloudFlare CDN on all the sites, but disabling it has no effect.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Volunteer

    Try turning on SCRIPT_DEBUG in wp-config.php

    define( SCRIPT_DEBUG, true );

    see https://codex.wordpress.org/Editing_wp-config.php#Debug

    Thread Starter MetalMusicMan

    (@metalmusicman)

    That didn’t have any effect, unfortunately. Is there some other way I can debug the rotation behavior?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Volunteer

    Sorry, I don’t have more ideas other than, what the heck, on the updates page click the button to re-install WP 4.7.

    Thread Starter MetalMusicMan

    (@metalmusicman)

    Just an update here to anyone else who might be running into this. I’ve fixed the issue by updating to PHP 7 in my webhost (1and1) backend.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘“Rotate Image” does nothing’ is closed to new replies.