• Resolved RedAISkye

    (@redeyedrocker)


    WooCommerce Product Gallery Thumbnails are being forced to 100px regardless of the settings and regenerating shop thumbnails. I’ve already done the plugin/theme conflict test.

    You can check my settings below:-

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @redeyedrocker,

    Thanks for reaching out.

    I understand that you’re experiencing an issue with the WooCommerce Product Gallery Thumbnails being forced to 100px, despite your settings and even after regenerating shop thumbnails.

    It also looks like you’ve already tried some troubleshooting steps to try and identify the issue, however, I’m just curious, does the issue persist even after switching the theme to Storefront or Twenty Twenty-Four?

    Thread Starter RedAISkye

    (@redeyedrocker)

    @ckadenge

    Yes, the product gallery thumbnails are always forced to 100px regardless of switching to either of those default themes with no plugins except for WooCommerce of course.

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi again @redeyedrocker,

    Thanks for confirming this with us.

    I was able to find a code snippet that can assist achieve the desired results. You can add it to your child theme using the code snippets plugin.

    add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) {
    return array(
    'width' => 512,
    'height' => 512,
    'crop' => 0,
    );
    } );

    You can find more reference on the same from this detailed guide: https://developer.woocommerce.com/docs/image-sizing-for-theme-developers/#section-1

    I hope this information helps.

    Thread Starter RedAISkye

    (@redeyedrocker)

    @ckadenge

    That works, Thanks!

    I’m using the following code instead from the guide you linked:-

    add_filter( 'woocommerce_gallery_thumbnail_size', function( $size ) {
    return 'thumbnail';
    } );

    But, I think it’ll be better if a Product Gallery Thumbnail option was simply added to the WC section of Customizer.

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @redeyedrocker,

    That works, Thanks!

    Glad to hear it – thanks for letting us know!

    ?I think it’ll be better if a Product Gallery Thumbnail option was simply added to the WC section of Customizer.

    We appreciate your feedback on the implementation of the product gallery thumbnail option in the WooCommerce section of the customizer. We have a feature request section where you can submit a feature request for easier implementation.

    You can learn more here. If you have a few minutes, we’d appreciate it if you could leave us a review:?https://www.ads-software.com/support/plugin/woocommerce/reviews/

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.