We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation
  • Status: Assigned

Ticket #12032 - Product image displayed in wrong dimension

Hello, in the product page (vertical layout products) images was displayed in smaller size than right.
When you hover thumbnail with mouse, images appear bigger as i need.
See attachment...


This ticket does not depend on any other tickets.

Marek (marek) 10 Apr 2018, 22:42

That is not an issue. Here is your original image https://shop.ilamalu.it/img/p/1/1/2/6/9/11269-large_default.jpg and as you can see it has white spaces on the left and right sides.

Diego (aircrescio) 11 Apr 2018, 00:33

And why if i hover one of the thumbnails images appear correct?
I think there is a problem with default image loaded.
How can i fix it?

Marek (marek) 11 Apr 2018, 11:38

The solution for you is to use ALL images with the same dimension what you has defined in your back office.
The theme just display your images as is. It's definitely not a theme issue.

Diego (aircrescio) 13 Apr 2018, 17:25

but why in some products work right?
I need use two different layout... if product is in selected categories must display verticalbig dimension...
See this product that works right: https://shop.ilamalu.it/donna/nina-des-criquets/1936-completo-intimo-in-seta (is the same as category cut condition)
As you can see in attachment, if you move mouse image appear right bigger...there is a condition right, but not at load...why? can you help me to fix? thanks for your incredible support.

Marek (marek) 13 Apr 2018, 23:58

That is not covering by support, sorry. Because it's your customisation. Thank you for understanding

Diego (aircrescio) 14 Apr 2018, 00:09

ok, but you can't suggest me some solution? because my customization works with this product: https://shop.ilamalu.it/donna/nina-des-criquets/1936-completo-intimo-in-seta why not for others?


Marek (marek) 15 Apr 2018, 12:24

My suggestion to you is always use the same images dimension which you upload to your store. For now please compare your source images of those two products

Diego (aircrescio) 16 Apr 2018, 17:31

The image are the same! same dimension. If you see product.tpl file from 159 to 234 lines you can see condition for use verticalbig, but i can't understand why for some products at load of page not load right dimension and use large_default dimension.
Please how can i solve it? Why for some products works right and for other no?


Marek (marek) 17 Apr 2018, 11:33

It's definitely not a theme issue, it's related to your customisations
See screenshots

Diego (aircrescio) 17 Apr 2018, 11:37

yes, i know... but verticalbig_default is right dimension. But on load not load that image but large_default.
I can't understand why and i need help for fix it...

Marek (marek) 17 Apr 2018, 11:38

How did you enabled verticalbig_default image for that product?

Diego (aircrescio) 17 Apr 2018, 11:46

Every products have that dimension. I create it in preferences of prestashop.
If product is in selected categories display verticalbig dimension.

Marek (marek) 17 Apr 2018, 12:06

So it means that product with square image is not in the necessary category

Diego (aircrescio) 17 Apr 2018, 12:09

is not possibile because is the same condition for display vertical images in thumbnails... and the same condition for hover images.
Any news also for my lookbook module customization?

Diego (aircrescio) 17 Apr 2018, 12:11

Are you working on website? I see white page

Marek (marek) 17 Apr 2018, 12:11

I didn't touch anything

Diego (aircrescio) 17 Apr 2018, 13:16

ok i if it. you can continue to work on our tickets.

Alex Support (Admin) 17 Apr 2018, 16:11

Hi. There was a small bug in the product page JS file from your developer. I've added a small fix and now it should be ok.
Please check.
This fix costs 15 euro. You can pay with the Paypal to the [email protected] with comment "AlexPromokit, 12032"

Diego (aircrescio) 17 Apr 2018, 17:07

ok, thanks. Can you help me also for understand how can i add icon inside "Aggiungi al carrello" and "Aggiungi alla lista desideri" buttons?
I need it as attachment layout.
And how can i set FLAT dropdown box layout as attachment?
Thanks for your support also for this customizations.