• kh0309

    (@kh0309)


    Hello,

    We recently updated to WordPress 6.8. Since then when editing/adding a post, anytime we try to add an image block and upload an image (.JPG) either by clicking the “Upload” button or dragging and dropping into the image block, we get the following error:

    “The web server cannot generate responsive image sizes for this image. Convert it to JPEG or PNG before uploading.”

    However, if we go to the Media Library and upload the same exact image: no problem.

    This problem did not exist with any 6.7.x versions.

    In a Google search, I found this same error posted about in a developer’s forum and they essentially had to change code in WordPress to get it to work again, but I really don’t want to have to do that. Any chance this might be remedied with a 6.8.1 release?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator threadi

    (@threadi)

    The ticket you linked could describe your problem. However, according to the information there, feedback from the person who reported it is missing for the developers to even consider it. If you have a plausible scenario, please report it in this ticket with as much information as possible about your system and your problem. Only then can it be checked and evaluated by developers.

    However, there are other possible causes for your problem:

    • Are you using a multisite? If so, can you display images normally? (are they visible on the website?)
    • Please also check under Tools > Site Health to see if there are any anomalies.
    • Deactivate all plugins as a test. Does it work then?
    • Also change the theme to a standard theme. Does it work then?

    I had the same problems with uploading images. I deactivated all plugins, and switched to the default theme. Made no difference. After much trial and error, I worked out how to get around the problem of Slow Image Uploads in WordPress 6.8

    The post has the code for your functions.php to get around the issue, and a link to a free plugin if your not comfortable editing in php.

    I just run into this, running v 6.8.2. Went to the site health tool as suggested by @threadi, found and issue with a PHP module not being active. My shared hosting has the option to select through CPanel which version of PHP you are running, and it seems when updating it this module wasn’t activated by default. So I activated it and it’s working again.

    Reading the description from from the PHP selector tool, the module in question (GD) is related to functions for working with images, so it seems to make sense.

    • This reply was modified 7 months, 2 weeks ago by aderojas.

    6.9, same error notice. Enabling GD module in PHP resolved the issue.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.