Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
956 Näkymät

Hello,

So I'd like to be able to zoom in an image when clicking on it. I have little knowledge in coding but I managed to get that done in a modal window with some specifics actions (Thanks AI!). But the issue is that it messes up with the edition mode on Odoo online : it's like it triggers the modal window and prevent me from clicking anywhere else. It also doesn't work when in an accordeon block, as the header takes precedent and is above the modal window. Is my idea doomed with the free version and without extra app/modules ?

I can provide the html code but it's quite long so I didn't know if I could post it here...


We're using the free website app as it's all we need (website for research chaire) and we're on Odoo online V18.

Avatar
Hylkää
Tekijä

Thanks for the answer, I appreciate it. But I don't have the ecommerce app, just the website, so I don't have these options. That's what led me to try and do some coding...

Paras vastaus

Just ensure your image is at least 1024x1024.

https://www.odoo.com/documentation/18.0/applications/websites/ecommerce/products.html#image-customization

You can also adjust if the Zoom just pops up, or if Users can click to Zoom (they can zoom in further)

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
toukok. 23
2803
0
toukok. 20
4125
1
heinäk. 25
1970
1
syysk. 24
4325
0
lokak. 24
4701