Product images get cropped even after disable hard cropping.
-
What I want to happen
All product images scale proportionally, without cropping. I have products of various shapes and therefore product images of various dimensions, so not cropping is important for users to be able to see the entire product.
The problem I get instead
Product images get cropped to a square, even after cropping is disabled in every setting I can find.
Steps to reproduce the problem
In Virtue Theme Options > Shop Settings > Product Image Sizes, I have turned off both “Enable Product Image Crop on Catalog pages” and “Enable Product Image Crop on product Page.”
While I’m there, I noticed the theme options page recommends a width of 468px for single product images and a width of 270px for catalog images. So in WooCommerce > Settings > Products > Product Image Sizes, I set single product images to 468 × 468, and catalog images to 270 × 270. There was no recommendation for product thumbnail size, so those are 150 × 150. I made sure the “hard crop” checkboxes are disabled.
I regenerated all my thumbnails. I check a couple catalog and single product pages, and all the thumbnails uploaded so far are still cropped to a square.
I’ve installed all the latest updates for WordPress, the Virtue theme, and the WooCommerce plugin. My web host uses the usual LAMP software stack, with PHP v5.5. I’ve already taken a look at this thread about editing
$catimgheight
, but that only fixed the thumbnails on the Shop page (which lists the product categories). Even after rebuilding the thumbnails again, catalog and single product images get cropped to a square.
- The topic ‘Product images get cropped even after disable hard cropping.’ is closed to new replies.