Shopify themes, liquid, logos, and UX
Hi. My store sells framed prints. I am trying to show product images within the collection view that reflect the product dimensions and are proportionally correct. i.e. I have varying sizes of the same print and I would like to make it visually obvious to the customer that there are different sizes available. This is how i would like to display my products:
However at the moment, Shopify is forcing the same width for all images. Is there a way via css or liquid to force the native image size to display ? I'm using Dawn theme V11
Thanks for any advice!
Hey @terryohm
Can you share the link to your store please? Thanks!
any luck?
Hey @terryohm,
I have checked and unfortunately, this requires abit of extensive code, one which I can't really bundle up into an instruction set here.
What you could do is to create an empty canvas of the same size for all images and paste the image of the product inside that canvas and resize just the image. Leave the empty spaces as white space. That way when you upload it to the product photo, the whitespace will be considered part of the photo and it will resize according to the canvas.
Like so,
I'll try that workaround. thank you very much for your help with this.
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024