how to show 1 image on product page instead of 2

bakyboy
Excursionist
78 0 2

Hey, I have a product which as 2 pictures (1 a picture and the second a GIF) in order for the Hover effect to work.

then with a code that was given to us, on the homepage the same product is featured only with the first image, and down on the homepage it shows again with the hover and the gif.

on the product page it self it shows both images, the picture and the gif. and I don't want it to show the gif, how is this possible to eliminate? that on the product page it self it will only show the first image of the product.

Replies 9 (9)

Not applicable

There isn't an option for that but you could edit the liquid code outputting the images on product page to not display that image based on its alt value / name / id.

bakyboy
Excursionist
78 0 2

how can I do that? what do I need to look for?

Not applicable

That depends on theme, it can be in product.liquid or in a section or a  snippet. If you can do a global search look for something like

{% for image in product.images %}

 then post the surrounding code here.

bakyboy
Excursionist
78 0 2

hey, im using the Showcase Theme
can't seem to find that line of code 😞

Not applicable

It looks like its a paid theme so I can't check.

bakyboy
Excursionist
78 0 2

maybe can you help me as a Shopify partner? I can link you to my store?

Kinjaldavra
Shopify Partner
2302 570 1422

Please provide website url and if your store is password protected then also provide password So I will check and provide a solution here.

bakyboy
Excursionist
78 0 2

https://century8mm.com there you go 

bakyboy
Excursionist
78 0 2

@Kinjaldavra 
hey, can you help me again with this issue?