Single Product Page Aspect Ratio Resizing
-
Hi there,
WooCommerce provides an option to set the size of products’ thumbnail, and width of a single product image.
However, whenever the uploader uploaded an image with an aspect ratio that’s not 1:1, the single product image on the single product page will be too “long’/”tall” as the image has a higher height to width ratio.
Is it possible to automatically soft crop or resize it during upload?
Tried adding this code to the child theme but it doesn’t work.
“add_image_size( ‘woocommerce_single’, ‘500’, ‘500’, true );”.Looking forward to your response. Thank you.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Single Product Page Aspect Ratio Resizing’ is closed to new replies.