Archived topic
Square product images
2 replies · Started by Justin on July 29, 2022
Hey, I am using bigcommerce as an e-commerce plugin. My images are 3:2 - but they display across the site as square. I have asked bigcommerce support, and they say this is being controlled on the Wordpress / theme side (not through their plugin).
Any idea where the setting may be to control image proportions for commerce products if I am not using woocommerce? Or, if I need to use CSS to restyle?
This is a link to a product as an example: https://theshapingbay.com/products/autonomic-nervous-system-poster/
Hi there,
the Theme doesn't create additional images sizes that would crop or alter your original image in any way. And neither does WordPress.....
If inspect the image on that page i see this:
https://www.screencast.com/t/yCPkR1qOcPMT
The width and height attributes are correct in that they match the image being displayed.
If i had to take a guess i would say:
1. The Image Carousel is creating an almost square aperture for the main image ( you can see the inline width style it adds is being caluclated by Javascript ).
2. Your Image Optimizer ( Flying Images CDN ? ) is cropping the image on the fly to suit the size the carousel is displaying.