Hi Armin,
I'm currently building a new professional design portfolio using Lay Theme, with a particular focus on technical SEO, accessibility and content discoverability across traditional search engines and AI-powered search platforms.
During the technical validation of my staging environment, I identified the following image-loading behaviour:
The original HTML contains a Base64 placeholder in the src attribute.
The actual image URLs are provided through data-srcset.
After JavaScript execution, srcset is populated correctly, but src remains a Base64 placeholder.
With JavaScript disabled, the images are not displayed.
Disabling Lay Theme's lazy loading does not resolve this behaviour.
I understand the performance considerations behind this implementation. However, Google's official image SEO guidelines recommend providing a valid image URL in the src attribute, even when responsive images use srcset.
https://developers.google.com/search/docs/appearance/google-images
Would it be possible to introduce an optional image-loading mode that provides a valid src fallback, ideally using native browser lazy loading?
Alternatively, is there a supported PHP hook or filter that would allow me to implement this behaviour through a custom WordPress plugin, without modifying Lay Theme's core files?
I would like to preserve the Gridder, responsive image functionality, Custom Phone Layouts and compatibility with future theme updates.
Thank you for your work on Lay Theme. Its creative flexibility is precisely why I chose it for this project.
Best regards,
João Loureiro
https://joaoloureiro.com