Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
936 Vistas

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
Descartar
Autor

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

Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
may 23
2776
0
may 20
4115
1
jul 25
1942
1
sept 24
4305
0
oct 24
4689