bigcommerce / bigcommerce-for-wordpress

A headless commerce integration for WordPress, powered by BigCommerce
https://www.bigcommerce.com/wordpress/
GNU General Public License v2.0
109 stars 49 forks source link

Product Variant Images being cropped into 1:1 ratio square images. #404

Closed ll-r-magner closed 1 year ago

ll-r-magner commented 1 year ago

Expected behavior

Product variant images being imported in native resolution

Actual behavior

Product variant images being cropped into 1:1 square images

Steps to reproduce behavior

  1. Upload Variant images into Bigcommerce at native resolution 16:9 for example
  2. Sync BigCommerce
  3. Click on a product option
  4. Variant image is shown as a completely square 1:1 image.

Screenshot/Video (if applicable)

Workaround or possible solution

I dont have any control over the variant image population. Below is a code snippet inside product-gallery.php. Image source is blank which im assuming is dynamically filled in upon clicking a product option.

carbon

ll-r-magner commented 1 year ago

For the meantime im just going to "hack-it" via CSS Magic.