• Brand & Palms

    (@brandandpalms)


    Hi,

    Big fan over here! I’ve been using this plugin for a while now. But after the last two updates, the first thumbnail is square. I never had this before, all thumbnails always showed the same.

    What can I do?
    Thank you

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

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

    (@codeixer)

    Hi @brandandpalms ,
    you can use this code below into theme folder > functions.php file for resize the image size

    add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) {
        return array(
            'width' => 150,
            'height' => 150,
            'crop' => 0,
        );
    } );
    Thread Starter Brand & Palms

    (@brandandpalms)

    Hi @codeixer,

    Thank you for getting back to me so fast.
    I tried the code but it doesn’t work. The thumbnails are in the middle surrounded by white space above and below.

    I also updated my theme the other day, maybe this is conflicting?

    Plugin Author Niloy – Codeixer

    (@im_niloy)

    sorry, if that code is not working maybe something else is in conflict with it.
    we can’t help with this since we don’t have the access to check the error

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘First thumbnail is default square’ is closed to new replies.