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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Oct 16
|
8197 | ||
|
2
Jun 18
|
4345 | ||
|
1
Mar 15
|
5099 | ||
|
0
Dec 23
|
487 | ||
|
0
Dec 17
|
2542 |