cancel
Showing results for 
Search instead for 
Did you mean: 

fotorama not working on single product page

SOLVED

fotorama not working on single product page

Hi, my product image is not showing on its page (but on catalog it's working).

The image is indeed on the page (I can see it from the dev tools),but not on frontend directly.

 

the only I found to make this work is by adding a width 100% to all children

 

See in less :

 

.product{
&.media{
div{
width:100%;
}
}
}
4 REPLIES

Re: fotorama not working on single product page

Hi @morgan_tartreau1

 

So after adding this css code in less file your issue is resolved or you still have any issue on this ?

if issue solved,Click Kudos & Accept as Solution

Re: fotorama not working on single product page

I add my image, but it was very small.

 

Then I found the solution, if this could help somebody :

 

.gallery-placeholder{ width: 100%; }

 

Now the image has the good size and is at the good place Smiley Happy

Re: fotorama not working on single product page

Hi @morgan_tartreau1

 

Yes , if you give 100% width on the gallery image then it looks perfect 

 

As images served from the gallery and .gallery-placeholder class covers whole section so if you have given 100% width on that then it works without any hassle

 

Anyways thanks for sharing your thoughts - if you think post is helpful mark accept as solution so other user gets helped !

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: fotorama not working on single product page

I don't understand why we have to do this, is should be native in magento now...