• Resolved jojojijijojo

    (@jojojijijojo)


    Hi,

    Assume a website that is using woocommerce with many products and their associated images.

    When choosing to convert all PNG images to JPEG, how do you handle woocommerce product references? Do they update automatically?

    For example product A has 6 images all PNGs, I run the bulk tool to convert all PNG images to JPEG, does products A gets updated with JPEG images?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Shane Bishop

    (@nosilver4u)

    That depends on how WooCommerce keeps track of those product images. If it does it “properly”, which it probably does, then it tracks the images by attachment ID and no URL updates are necessary.
    It’s only plugins/content that use image URLs that ever need to be updated, and the plugin automatically takes care of anything within wp_posts.

    Thread Starter jojojijijojo

    (@jojojijijojo)

    Thanks! Can anyone confirm if they tried it with woocommerce? @stuartduff

    Thread Starter jojojijijojo

    (@jojojijijojo)

    I can confirm that it does not work on woocommerce at all. I even tried on product that only had JPG images, and they all went missing.

    Plugin Author Shane Bishop

    (@nosilver4u)

    You did JPG to PNG on that, or what specifically? Normal optimization does NOT rewrite any paths/URLs. So if they went missing without conversion, we need to look into it further: https://ewww.io/contact-us/
    I’ve tested all sorts of other scenarios with WooCommerce, just not the PNG to JPG conversion (nor the JPG to PNG operation).

    Thread Starter jojojijijojo

    (@jojojijijojo)

    I didn’t use any conversion, just optimization, but I did select to delete the original images to save space since I want them replaced with the optimized ones.

    Plugin Author Shane Bishop

    (@nosilver4u)

    there are no “originals” with normal optimization, since replacing them IS the default behavior

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

The topic ‘Woocommerce’ is closed to new replies.