<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[lazyload attributes saved into page content]]></title><description><![CDATA[<p dir="auto">after one of the recent updates on my site the cover image and the first project thumbnail on the homepage were not displayed when the page was loaded directly (in all browsers, on desktop and mobile). However, they did appear correctly when navigating to the homepage from a subpage (via AJAX navigation), and they also look fine in the Laytheme editor.</p>
<p dir="auto">Claude found the problem and gave me a script to solve the problem for the moment.</p>
<p dir="auto">&lt;script&gt;<br />
document.addEventListener("DOMContentLoaded", function () {<br />
document.querySelectorAll("img[data-src]").forEach(function (img) {<br />
if (img.src.indexOf("data:image") === 0) {<br />
img.removeAttribute("sizes");<br />
img.src = img.getAttribute("data-src");<br />
}<br />
});<br />
});<br />
&lt;/script&gt;</p>
<p dir="auto">But I guess it is a bug?<br />
Thanks in advance for looking into this.</p>
]]></description><link>https://laythemeforum.com/topic/11984/lazyload-attributes-saved-into-page-content</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Jul 2026 19:49:24 GMT</lastBuildDate><atom:link href="https://laythemeforum.com/topic/11984.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Jul 2026 00:23:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to lazyload attributes saved into page content on Sat, 04 Jul 2026 00:26:55 GMT]]></title><description><![CDATA[<p dir="auto">another problem: display of covers in mobile seems corrupted - some white space above cover is shown</p>
]]></description><link>https://laythemeforum.com/post/47718</link><guid isPermaLink="true">https://laythemeforum.com/post/47718</guid><dc:creator><![CDATA[qua7]]></dc:creator><pubDate>Sat, 04 Jul 2026 00:26:55 GMT</pubDate></item></channel></rss>