• Resolved umeeshh

    (@umeeshh)


    Hi! Thanks for your great work!

    I need one customisation so here is my question – how to change default thumbnail source. It loads 100×100. I need bigger images

    thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor getwooplugins

    (@getwooplugins)

    @umeeshh,

    Add the following filter inside functions.php and adjust your width and height according to your need.

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

    Thank You

    Thread Starter umeeshh

    (@umeeshh)

    Thanks a lot! ??

    Hi there.

    I have the same problem, I need my gallery thumbnail images to be a litle bigger because they are getting a litle cropped in height.

    I did the change mentioned above in the functions.php file but the images remain in the original size (100*100)…any ideas why is this happening?

    Thanks in advance.

    PS: Great job, by the way!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Thumbnails src’ is closed to new replies.