Square thumbnails without cropping
-
Hi!
I’d like to have my the photos on my product archive pages to be square. The problem is, when I do this, the images get cropped and it leaves some ugly cut off pictures. However, there are over 3000 products and as you can imagine I’d rather not resize them hand by hand.
What I’ve tried so far:
1. Going into Appearance > Customize > WooCommerce > Product Images > Selecting the ‘Uncropped’ option. While this solves the problem of images getting cropped, it creates another problem. Now the images use their original sizes leaving a messy page with uneven products boxes.2. Regenerate Thumbnail. I’ve ran this plugin, however, nothing changes. On the Regenerate Thumbnail page I see these, I think, settings:
woocommerce_gallery_thumbnail: 100×100 pixels (cropped to fit)
shop_thumbnail: 100×100 pixels (cropped to fit)I’m not sure if this is a problem but it seems suspicious to me..
3. Turning off the ‘Crop thumbnail to exact dimensions (normally thumbnails are proportional)’ option in Settings > Media.
I’m using the Hello Elementor theme and using Elementor Pro.
If I remember correctly I had a csv file with both .png and .jpg files once, and when I used the Regenerate Thumbnail plugin back then only the .png files seemed to resize. So my guess is that it might have to do something with the .jpg file type. Luckily for me, all the images I have right now are .jpg… /sThanks in advance for your help.
The page I need help with: [log in to see the link]
- The topic ‘Square thumbnails without cropping’ is closed to new replies.