Customize product pages through tags

Highlighted
Excursionist
33 0 5

I've stumbled upon an issue with my store that I really didn't even consider before I saw it.

I have two types of products in my store, one where the image is (roughly) 1200x800px and the other one is 800x1200px.
The issue that arose is that the width of the product image is set by the "standing" format. This means that the standing format is fine (1200x800px), but the format that's laying down would then also have a width of 800px instead of 1200px. So the format for "laying" images then becomes 800x533px.

My question here is if there is a way to set the width of a product image based on what tags the product has since standing and laying products both have different tags.
You might think that I should just change each product page but I have over 500 products so that would take ALOT of time.
Any tips or help would be very appreciated!

0 Likes
Highlighted
Shopify Partner
582 69 93

@Theo12 ,

It should be possible through custom coding where one checks the tag and manipulates the right height width for the image. Can be done in liquid

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution

Skype : lokendra.panwar1
0 Likes
Highlighted
Excursionist
33 0 5

Okay, thank you very much for letting me know!

0 Likes