Images from woocommerce products dissapeared (error 404)

Comments

6 comments

  • Avatar
    Aleksandar Kostadinov

    Hi John,

    This was related to a bug in our Cloudinary WordPress plugin version 2.1.1 which was the most recently released version. The URLs which had the dash and dimensions suffix e.g. "-300x400" in your case were resulting in the error since they requested a public_id that wouldn't have existed.

    We actually released a fix today for this in another Plugin version - 2.1.2. May I please ask you to upgrade to that version and let us know if the URLs to the images no longer contain that suffix and therefore are delivered as expected?

    0
    Comment actions Permalink
  • Avatar
    Michael Rasmussen

    I have a similar problem with 2.1.2 that was released yesterday had to downgrade to 2.1.1 to get my images back in the media library

    0
    Comment actions Permalink
  • Avatar
    Aleksandar Kostadinov

    Hi Micahel,

    The 2.1.2 version should resolve the issues that were seen in 2.1.1 where a suffix was added to the public_ids (e.g. -300x600) which resulted in broken images.

    If you are seeing issues on 2.1.2 with the URLs or delivery of the images, may I please ask you to share more details about this? For instance - What version of WordPress are you using, theme and editor, a screenshot of the plugins page from your WP and a link to a page on your site that we can see the issue?

    0
    Comment actions Permalink
  • Avatar
    Diana

    Hi Aleksandar,

    I'm currently experiencing this issue with wordpress 5.4.2 and plugin version 2.1.2. The images fail with a 404 error.

    here's one of the pages where images are failing to display: https://www.fisioterapia-pilates.com/category/investigacion/

    I'm using a template monster template with the classic editor and power builder.

     

    Please advise

     

    0
    Comment actions Permalink
  • Avatar
    Jay Akhtar

    Hi Diana,

    I can look into this while Aleksander is away.

    After inspecting the image URLs on your site via Browser console, I found that images still having the URLs with the suffix "- 1200x787" causing the images to break. 

    https://res.cloudinary.com/snrgbcn/image/upload/f_auto,q_auto/v1589015020/web/mujer-despertando-1200x787.jpg
    https://res.cloudinary.com/snrgbcn/image/upload/f_auto,q_auto/v1589015022/web/dra-stephanie-stima-1200x787.png
    https://res.cloudinary.com/snrgbcn/image/upload/f_auto,q_auto/v1589015023/web/mujer-cansada-escritorio-1200x787.jpg

    This is the same bug that was fixed in the newer plugin version 2.1.2.

    Can you please try uploading new images and see if they are still broken? 

    If this does not help, please open a support ticket with more information such as:
    * Wordpress version
    * Cloudinary Plugin's version
    * The theme that you use and its version
    * A full list of all other plugins that you have installed on your environment
    * Page builders that you actively use

    0
    Comment actions Permalink
  • Avatar
    Diana

    Hi Jay,

    I just published a new article and uploaded a new picture.

    In the homepage, the new image is also broken (https://res.cloudinary.com/snrgbcn/image/upload/f_auto,q_auto/v1593680044/web/crackers-semillas-536x282.jpeg)

    I opened a support ticket as you suggested.

    Thank you.

    0
    Comment actions Permalink

Please sign in to leave a comment.