Skip to Content
Menu
This question has been flagged
1 Reply
446 Views

Hi everyone,

I’m encountering a persistent issue with product media images on my Odoo 18 Online Enterprise website, and after exhausting all common solutions, I’m hoping someone here might have additional insights.

❓ The Problem:

  • When I upload media images to a product, they appear correctly as thumbnails on the product page.
  • However, when clicking on a thumbnail, the image viewer opens blank—the full-size image does not load.
  • I’m seeing this JavaScript error in the browser console:

    javascript

    CopyEdit

    TypeError: Cannot read properties of null (reading 'ride') at Carousel._maybeEnableCycle...

✅ What I’ve Tried:

  • ✅ Re-uploaded all media images using file upload and URLs
  • ✅ Switched to theme_default to rule out theme-related issues
  • ✅ Confirmed all images load fine in the browser (no broken links in the Network tab)
  • ✅ Removed all custom CSS and JS
  • ✅ Deleted all media and re-added a single clean image
  • ✅ Checked that images are showing correctly in the backend
  • ✅ Used Studio to check/modify related fields and view structure

Still, the image carousel appears broken—even with a single image and default setup.

🧐 My Questions:

  • Is this a known issue in Odoo 18 Online?
  • Could this be related to how media images or the image_1920 field are handled in the frontend?
  • Are there any extra configuration settings under Website → Configuration → Product Page Extra Fields that could fix this?

If anyone else has experienced this or knows of a workaround, I’d be super grateful for your insights 🙏

Thanks in advance for your support!

Avatar
Discard
Best Answer

Hello! This is a known bug that affects version 18.2 specifically. The good news is that Odoo's developers have already addressed it. To apply the fix on your end, just upgrade the E-commerce module (website_sale) in your database, as shown in the screenshot below:

https://drive.google.com/file/d/1cqv6nC2qj4dhw5D5Ss0fRIBlVAsMFRty/view?usp=sharing

I hope this helps! Wishing you a great day.

Avatar
Discard