Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1001 Widoki

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.

Awatar
Odrzuć
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...

Najlepsza odpowiedź

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)

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 23
2837
0
maj 20
4160
1
lip 25
2023
1
wrz 24
4395
0
paź 24
4737