• Resolved Morten Ross

    (@rosmo01)


    I have a copy of my live site on a local host as a staging server/lab. This issue is not on live site, and I have no idea why it is happening. No error is logged (debug on), nor will disabling all plugins and revert to default WP theme change the behavior. Uploading via Edit Post > Add media or from Media library show the same behavior.

    The upload of an image that is larger than the WP default max size is automatically scaled down to this max size (2560 px), but in lab this is not happening, and thus the original image is used, and no other resized versions are created either.

    The image is uploaded, but not processed.

    The page I need help with: [log in to see the link]

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

    (@sterndata)

    Volunteer Forum Moderator

    Are both gd and ImageMagick installed? Look under Site Health -> Info -> Media Handling

    Thread Starter Morten Ross

    (@rosmo01)

    Imagick is installed. I’m running PHP 8.2 in lab, vs 8.1 on live, so I guess this is a problem, as I find no Imagick binaries for php higher than 8.1.

    Using GD I loose EXIF on all image uploads, so how to preserve EXIF? Exif support is active (showing up in phpinfo).

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I’m running Fedora 40 (php 8.3, ImageMagic 7.1), so there are binaries — it depends on the distro. Anyhow, I don’t know about the gd/exif stuff.

    Thread Starter Morten Ross

    (@rosmo01)

    I’m on Windows 10, ImageMagick 7.1.1-31 Q16-HDRI x64, and apparently it is quite a bit less straightforward to set up than on linux.

    Your confirmation of it working on PHP 8.3 made me look more extensively, and it paid off. Thanks for your input!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image uploads no longer scaled’ is closed to new replies.