• Resolved mipqim

    (@yoencaz)


    Hi ??

    Anyone knows how to change the size of featured images in woocommerce?
    If you go to on of my products –> https://vonlino.com/product/fabian/
    you see that the main product image is much larger than featured images.

    All best!
    Mipqim

    • This topic was modified 5 years ago by mipqim.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mipqim

    (@yoencaz)

    I have made some progress, but still not there –>

    When I add this code in my functions.php the “gallery thumbnail pictures” changes size. But for some strange reason the only time the code has affect is when width=400 and height=400, for all other size-values the gallery-image-size goes back to its original small size. For your info, the size-values down below is my current setting on my site.

    add_filter( ‘woocommerce_get_image_size_gallery_thumbnail’, function( $size ) {
    return array(
    ‘width’ => 400,
    ‘height’ => 400,
    ‘crop’ => 1,
    );
    } );

    `

    All best
    Mipqim

    Howdy ??

    Here’s the documentation on custom image sizes in WooCommerce https://github.com/woocommerce/woocommerce/wiki/Customizing-image-sizes-in-3.3

    Hope that helps. Kind regards,

    Thread Starter mipqim

    (@yoencaz)

    It helped thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change size of featured images in woocommerce’ is closed to new replies.