• Resolved Chargin

    (@chargin)


    Hi, Ive tried a few plugins to try and convert PNGs to JPGs on our woocommerce ecom site, this one seems the best but its not quite working for me.

    We imported about 300 products recently from a suppliers website and they were using PNGs for most of their images (hopeless…). When I convert images using your plugin they dont show up on the product, its still using all the PNG files. If I then go to edit the product and save it, it will then get all the images correctly.

    Is this because a database field isnt being updated by your plugin? Only when I actually edit/update the product are those fileds saved.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author kubiq

    (@kubiq)

    Hello,

    this sounds like a cache problem – are you sure you cleared all the server and WP cache properly?

    Otherwise, just try to find that old PNG file in the database and let me know where it is,
    but I’m also using this plugin with WooCommerce and I don’t have this problem.

    Thread Starter Chargin

    (@chargin)

    I actually deavtivated my WPRocket cache plugin to retest this before making my post here.

    I turned on the option to delete the PNG file and did a test that way too, this then shows the “missing image” icon on the product page.

    Do you know which database field Woo uses to store its image list? I can go in and do a test and check the database perhaps.

    Plugin Author kubiq

    (@kubiq)

    WPRocket is just WP cache, but there are more cache layers… browser cache, server cache, etc…

    That’s exactly my question: “which database field” is it in your setup, that still contains .png extension, because imo all needed things are replaced, so maybe it’s some another plugin affecting this

    Thread Starter Chargin

    (@chargin)

    What about permalink plugin, I think thats what its called, would that effect this?

    Plugin Author kubiq

    (@kubiq)

    I have no idea what plugins you have and which one can cause this…

    And no, there is no plugin called permalink, but if you’re not even willing to check the correct plugin name and you also don’t want to search your database for that image filename with PNG extension, then I’m afraid I can help you

    Thread Starter Chargin

    (@chargin)

    Sorry I thought this was a commonly known plugin but maybe its not. Its called “Permalink Manager”. I thought perhaps it was doing something with image links but I cant see anything in the settings that refers to images.

    Ok I will find out where woo stores the images for a product and check that it gets updated when converting a PNG to a JPG.

    Thread Starter Chargin

    (@chargin)

    Also, what about the thumbnails, does your plugin regenerate all the image sizes for a particlular image or just convert the single PNG to a JPG and do that once for the main image? Most Woo sites will have several sizes of the image, like thumbnails, then a mid size then a full size for full screen viewing.

    Thread Starter Chargin

    (@chargin)

    After a lot of databse digging and testing it looks like Woothumbs caching is the cause of the issue with your plugin. Disabling caching on that plugin seemed to sort it. Seems strange though, their plugin must store the cache forever… checking image a week later and they stilled showed the PNG and noth the JPG.

    Plugin Author kubiq

    (@kubiq)

    Hi,

    what do you mean by “lot of databse digging”? It should be just using a search field with the filename including the .png extension in phpMyAdmin or Adminer – it should take a few seconds…max a few minutes

    I didn’t find and “Woothumbs” plugin: https://www.ads-software.com/plugins/search/Woothumbs/
    There is some paid plugin from some iconicwp – is that what you mean?

    I can maybe add some notice in the admin, that you should clear all the cache after conversion, which makes sense actually.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Woocommerce images not getting updated to JPGs’ is closed to new replies.