• Resolved shimaab

    (@shimaab)


    hi, i was updating woocomerce plugin to 3.3.2,
    but I have many problems with this update.
    first of all, I cant resize my product thumbnail in widgets, for example, I wanna set 70 * 70 px for my products in the widget area, but when I change “Thumbnail width” in customize, all my shop’s images size will be change.
    what should I do? can you help me, please?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @shimaab,

    but I have many problems with this update.
    first of all, I cant resize my product thumbnail in widgets, for example, I wanna set 70 * 70 px for my products in the widget area, but when I change “Thumbnail width” in customize, all my shop’s images size will be change.
    what should I do? can you help me, please?

    Are you still having this issue?

    You can read about how to override image sizes here:
    https://docs.woocommerce.com/document/image-sizes-theme-developers/#section-3

    Thread Starter shimaab

    (@shimaab)

    no, my widget products have many default size, I mean that generate many sizes like 70*70, 150*150 and …
    how can I disable automatic image size generations?

    Laurena Rehbein

    (@lrehbein)

    Automattic Happiness Engineer

    If you are looking to disable background image regeneration, there’s more here on how to do that:

    https://github.com/woocommerce/woocommerce/wiki/Thumbnail-Image-Regeneration-in-3.3#how-to-disable-background-regeneration

    Thread Starter shimaab

    (@shimaab)

    yes, I was run the code, but it doesn’t work for me, and again generate size in product widget area.

    the code:
    add_filter( ‘woocommerce_background_image_regeneration’, ‘__return_false’ );
    can you help me, please? it is so important for me.

    Plugin Support Ryan Ray

    (@ryanr14)

    Hi there,

    It’s hard to say what exactly is going wrong, have you added this code via a plugin like functionality or pluginception? You could also try adding a priority to the filter, but I’m not sure it’ll help. Something like…

    add_filter( 'woocommerce_background_image_regeneration', '__return_false', 20 );

    jessepearson

    (@jessepearson)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

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

The topic ‘thumbnail image’ is closed to new replies.