• Hoping someone can advise on this

    There are a?FEW?images in the Media Library that cannot be edited. Most of the images can be edited, but there are a few that display no editing fields (like?crop, rotate, scale, etc.) once clicking through the?Edit Image?button at the bottom of the image (see above links to screenshots). Also, the dysfunctional images do not display a thumbnail in the Library’s directory. Additionally, scaled files that typically store in the wp-content/uploads/… folders are not automatically populating, so these images don’t display on the Edit Media interface pages.

    All images in the Library have been uploaded in the exact same manner. They are all jpg extensions and they are all compliant with size and protocol definitions.

    I have first made the following troubleshooting recommendations: Clear Cache, Change Themes, Deactivate All Plugins, Check Permission Codes, Re-Install WP, Conversed with Hosting Provider. None of these have remedied the issue. The provider (bluehost) recommended I contact WP, but the dot_com forum moderator said they cannot help because the site isn’t hosted with WP.

    Thanks for whatever help may lead to a solution!

    Best Wishes!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Dion Hulse

    (@dd32)

    Meta Developer

    Also, the dysfunctional images do not display a thumbnail in the Library’s directory. Additionally, scaled files that typically store in the wp-content/uploads/… folders are not automatically populating, so these images don’t display on the Edit Media interface pages.

    Hi @gankyil, I think the reason you’re seeing both the editor AND the thumbnails not existing is that WordPress likely ran out of memory processing the upload for the image.

    As a result of running out of memory, it failed to generate the resized images, and likely has not saved some vital metadata about the uploaded image that is required for the image editing tools to be visible.

    The problematic file which you’ve pointed out is 21MB in size, but also of very high resolution and DPI, due to how PHP processes images large images like this can require a LOT of memory in order to properly resize and be processed. Different image contents will greatly affect this too.

    You will likely need to delete and re-upload the affected images if you wish to use the WordPress image editing tools. You can also use a plugin to “Replace media” instead of deleting.

    You may be able to resolve this by ensuring that the Imagick extension is installed on your hosting, as this uses less memory and produces higher quality outputs. You can use Site Health in WordPress and look at the Media Handling section to see if it’s enabled on your hosting.

    You can also try increasing the amount of memory which WordPress can use during the upload process.

    You can do this by defining the WP_MAX_MEMORY_LIMIT PHP constant in wp-config.php to a higher value, see editing wp-config.php.

    Thread Starter gankyil

    (@gankyil)

    Thanks @dd32 !

    You’re right, it’s definitely a memory issue during upload relative to the image-size. I had tried a deletion and re-upload of one problematic file without making any change to it, and that confirmed it–same result. So then, resized it before re-upload which allowed wp to function, just fine. As an art-site, will need larger images now and then, but ftp’ing might be best for those needs.

    Imagick checked out. Can work with the wp-config_php, for sure after a child-theme is set-up.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot Edit A Few Images from Edit Media Page within Media Library’ is closed to new replies.