This topic has 8 replies, 3 voices, and was last updated 4 years, 3 months ago ago by Olga Barlow
I require the product gallery to be of a constant size & not changing with every image.
All our images are of different sizes, they should be compressed / cropped & fit into a particular size gallery.
How do I achieve that ?
Hello,
Go to Appearance > Customize > WooCommerce > Product Images > choose the crop option for the product thumbnails http://prntscr.com/uhor2f But take into account that it will crop images for both: shop grid and single product gallery (not the single product).
Regards
This is only cropping 1:1 for the thumbnail.
However, the Main product Gallery is not cropping.
I require Main Image Width to be 600 x 600
Read this article https://www.8theme.com/documentation/xstore/woocommerce/product-images/ , you need to regenerate thumbnails to apply changes.
Regards
hello,
Regenerating the thumbnails didn’t make any difference. Can you point towards a more elaborate guide?
Hello,
Provide URL of page where images have different sizes still + temporary wp-admin access.
https://docs.woocommerce.com/document/fixing-blurry-product-images/
Regards
Hello, The required information is shared in private content area.
Hello,
I have checked the mentioned product and gallery images are the same size and cropped http://prntscr.com/ul6zwr
But the single product images are different. WooCommerce does not have option to crop the single product images.
You can limit the height of the single product images by adding the following code to Theme Options > Custom CSS
.swipers-couple-wrapper .swiper-wrapper .woocommerce-product-gallery__image img.attachment-shop_single {
max-height: 400px;
width: auto;
}
Regards
You must be logged in to reply to this topic.Log in/Sign up