• Resolved nick8182

    (@nick8182)


    with the addition wc 3.3.2 and 3.3.3 I found myself for the new images loaded the thumbnails in the gallery of the single product with size 100×100, while before the dimensions of the miniatures were taken from those set by media wordpress 180×180.

    Is there anybody who can give me the code to insert in my functions.php file in order to change the 100×100 to 180×180 size (same size set in wordpress)?

    thank you very much for helping

Viewing 7 replies - 1 through 7 (of 7 total)
  • I am also having this issue, however, I use different image sizes for the gallery throughout all of the products.

    Please switch it back and then I will update again!

    Thanks and I love Woocommerce

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    @nick8182 I provided a snippet in the other thread you replied to. If Flatsome doesn’t use the same code WC core does, I cannot say what filters are in place. Flatsome is a premium theme; ask the theme author what options are available to you.

    https://wordpress.org/support/topic/product-thumbnail-size-not-editable-after-last-update/

    After changing it, you may need to run a regenerate thumbnails action/plugin.

    Also r/e your reply there, browser makes no difference to this. It’s all server side.

    Thread Starter nick8182

    (@nick8182)

    hello @mikejolley the code does not work, those of flatsome I have already contacted them.

    With only the upgrade from wc 3.3.1 to 3.3.3, two new 100×100 and 768×768 thumbnails were created for all the images, and even though I set 600 as the main image measure, 768 is loaded.

    Is there a code to prevent these thumbnails from being created?

    thank you

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Maybe flatsome doesn’t call our image sizes? No one forces a theme to use the image sizes we define. The code in the other thread was to replace the 100×100 gallery_thumbnail size with regular thumbnail size.

    Flatsome is premium so I don’t have a current copy to look at.

    Thread Starter nick8182

    (@nick8182)

    @mikejolley I solved it temporarily replacing ‘shop_thumbnail’ in ‘thumbnail’inside the file product-gallery-thumbnails.php

    • This reply was modified 6 years, 1 month ago by nick8182.
    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    If thats a template in Flatsome, yes that will do it. They must not be using our new function yet.

    FYI I wrote a doc here explaining available hooks and the options, when themes are updated. https://github.com/woocommerce/woocommerce/wiki/Customizing-image-sizes-in-3.3-

    Thread Starter nick8182

    (@nick8182)

    @mikejolley thank you very much, this guide is super!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WC 3.3.3 change size ‘shop_thumbnail’’ is closed to new replies.