• Resolved mohamed2000320

    (@mohamed2000320)


    I’m running a locally hosted e-commerce website using WooCommerce. I was trying to replace a product’s image by deleting it from the media library and uploading another with the same name , however, when I try to edit it from Media library -> [the image file] -> Edit, it reverts to an even lower quality copy of the old image, sometimes this happens after pressing update on the Edit page as if the old one is still stored somewhere in the website files, although only different sizes of the new image shows when searching for the old/new image’s name in the website files.

    Also, the path of the image file as stated in the File URL of the Save menu in the Edit page mentioned above doesn’t contain the old image, but, again, different sizes of the new image.

    Does anyone know what the problem can possibly be?

Viewing 4 replies - 1 through 4 (of 4 total)
  • It sounds like your browser is caching the image. Try clearing your browser cache (Ctrl + F5) in Firefox, for example) to see if that solves the problem.

    Thomas Shellberg

    (@shellbeezy)

    Automattic Happiness Engineer

    Hi @mohamed2000320,

    This definitely does sound like caching as mentioned by @linux4me2. You may also need to make sure that your site can regenerate thumbnails if you change the product image.

    https://github.com/woocommerce/woocommerce/wiki/Thumbnail-Image-Regeneration-in-3.3

    Thread Starter mohamed2000320

    (@mohamed2000320)

    @shellbeezy @linux4me2 Thank you both guys so much for your help.
    I’ve checked the problem today and it seems to have been solved by itself, I didn’t do anything since I made this post.

    As of the clearing the cache, I use W3 Total Cache plugin and tried while I was having the problem purging the cache by pressing Save Settings & Purge Caches, but it didn’t help. Wasn’t that what you meant?

    Thomas Shellberg

    (@shellbeezy)

    Automattic Happiness Engineer

    Hi @mohamed2000320,

    I’m glad that it’s working properly for you now.

    As of the clearing the cache, I use W3 Total Cache plugin and tried while I was having the problem purging the cache by pressing Save Settings & Purge Caches, but it didn’t help. Wasn’t that what you meant?

    Yes, that sounds right; perhaps your browser was caching the images itself or your hosting provider has server-level caching installed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wrong product image showing’ is closed to new replies.