loading="lazy"
and defer
for performance, and consider Webflow CMS for smaller, static image sets to avoid JavaScript.You want to offload an external image source list to avoid bloating Webflow’s code—here’s how to accomplish that with Webflow's limitations in mind.
tag).
fetch()
<img>
elements into an existing container or target element (use Webflow IDs/classes)#external-gallery
for easier DOM targeting.You can iterate over an externally hosted image list in Webflow by using custom JavaScript to fetch and render external JSON, ideally placing script tags in the Page Settings > Custom Code area. While you can’t iterate over external data natively in the Designer, this approach keeps Webflow clean and flexible. Use the CMS if you prefer native iteration without code.