Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3829 Vizualizări

We use Odoo 8.

I have installed the website_multi_image_zoom module to have multi images on product pages on the frontend.

The module is now working. But often the main image is stretched (see image below).

How could we avoid this?

Thanks to help


Imagine profil
Abandonează
Autor Cel mai bun răspuns

I have commented this line in the file multizoom.js of the module website_multi_image_zoom for Odoo 8.


//$imgObj.attr('src', this.src).css({width: w || options.width || this.width, height: (h = +(h || options.height || this.height))});


This line set a fixed height and width for the main image on load.
Now, images are not stretched.
Thanks all

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
oct. 16
9351
2
iun. 18
4969
1
mar. 15
6151
0
dec. 23
1529
0
dec. 17
3606