Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1268 Visualizzazioni

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
Abbandona
Autore

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...

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mag 23
3020
0
mag 20
4331
1
lug 25
2508
1
set 24
4691
0
ott 24
4908