How to lazy load images within a rich text collection item?

Hey folks,

I have a Blog Article collection set up where the main content of the post lives in a Rich Text element.

As far as I can see, there’s no way to lazy load images inserted within a Rich Text element.

Am I correct?

Webflow automatically adds the attribute and value of loading="lazy" to the image tag for images inside CMS bound RTF’s. Modern browsers include native lazy loading so this accomplishes what you want. There are no other controls on these images, unlike media in assets.

It’s always possible to write custom code to further manipulate the DOM and behaviors if you desire.

Did they remove this feature, just encountered where the images tags within rich text boxes are acculy missing the lazy loading attribute…

1 Like

This results in internal anchors being broken as the browser doesn’t know what the height of the document is. Is there a reason Webflow doesn’t allow us to configure these things?