Pictures on gallery is croped

Hello support team,

When i add the pictures of my products these is croped on bottom view my attachment

Thanks you for your help’s

Hello there,

To manage cropping on product images, please refer to “Customize image sizes in the customizer.

Regards,
Kharis
aThemes Support

Hello,

The problem is not on Product miniature but in product gallery images.

Regards,

Hello there,

Try to set 99999 for the “Main image width”.

Let me know how it works.

Regards,
Kharis
aThemes Support

Hello,

No, he is same it’s cropped on top.

Here is a link to view

Regards,

Try regenerating thumbnails after updating the size; and reload your site.

Regards,
Kharis
aThemes Support

Hello,

I tried with plugin, he is same the image is croped.

Regards,

Hi Mehmet69,

I had the same issue. As far as I can tell, the Leto theme has an issue with Woocommerce plug-in because the issue is also evident in the Leto Demo.

I use a child theme for Leto and this worked:

Go to APPEARANCE/THEME EDITOR and add this code at the bottom of your functions.php file:

add_filter( ‘woocommerce_gallery_thumbnail_size’, ‘x_change_product_thumbnail_size’, 99 );
function x_change_product_thumbnail_size(){
return array(99999, 99999);//width & height of thumbnail
}

I am not an expert coder at all, but this worked.

Best of luck,
Jeremy

Hi Jeremy,

Thank you for sharing.

You can use this code:

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

and apply it with the Code Snippets plugin.

Regards,
Kharis
aThemes Support

Hello,

Yes ! he works now.

Thanks for your help @kharisblank and @chickennuggetsco

Regards,

Great!

You’re welcome! Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis
aThemes Support