**Bug report: carousel-lazy-img not loading in Safari 26 (macOS 26.5)**
-
Hi,
Images on project/work pages using the carousel layout fail to load in Safari 26 on macOS 26.5. The same pages load perfectly in Firefox and Chrome.
What's happening
Lay Theme uses
data-lay-srcanddata-lay-srcsetattributes on images with the classcarousel-lazy-imgto handle lazy loading. In Safari 26, the lazy loader (frontend.app.min.js) does not swap these attributes into the actualsrcandsrcset— so images remain as base64 placeholders and never load.I confirmed this by inspecting the DOM in Safari's DevTools. The
data-lay-srcattribute is correctly present in the HTML, but the imagesrcis never updated from the placeholder. No JavaScript errors appear in the console. The network tab shows zero image requests being made for the carousel images, confirming the lazy loader simply never triggers in Safari 26.Steps to reproduce
- Create a page using the carousel/gallery layout with multiple images
- Open the page in Safari 26 on macOS 26.5
- Images remain blank — only base64 placeholder GIFs are shown
Environment
- Lay Theme (latest version)
- WordPress 7.0
- Safari 26, macOS 26.5
- Affects both desktop and iOS Safari 26
Happy to provide a test URL if that helps. Thanks!
-
For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).
We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.
Want to support my work? paypal.me/arminunruh
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it