This topic has 2 replies, 2 voices, and was last updated 4 years, 1 months ago ago by Olga Barlow
Hello,
I am pulling products from a entegrator through api so the images are displaying with their original sizes. is it possible to convert them to one single standart size automatically while the product loading? or any other easy way to resize them properly.
Waiting for your replies, thanks
Hello,
You can choose the option to crop images or not in Theme Options > WooCommerce > Product Images. If you want to avoid cropping but keep them aligned you can choose No crop in the mentioned settings and add the below code to Theme Options > Custom CSS to limit height:
.content-product .product-content-image img {
max-height: 250px;
width: auto;
}
Regards
You must be logged in to reply to this topic.Log in/Sign up