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

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

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
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
2
okt. 16
|
10901 | |||
|
0
apr. 26
|
762 | |||
|
2
jun. 18
|
6274 | |||
|
1
mar. 15
|
7874 | |||
|
0
dec. 23
|
3223 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.