تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
938 أدوات العرض

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.

الصورة الرمزية
إهمال
الكاتب

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

أفضل إجابة

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)

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مايو 23
2776
0
مايو 20
4115
1
يوليو 25
1942
1
سبتمبر 24
4305
0
أكتوبر 24
4689