Ajouter

Lorem ipsum

Lorem ipsum

SEO / GEO

4 min

How to Add Lazy Loading to Images in Webflow

Learn how to enable native lazy loading on Webflow images to improve performance and Core Web Vitals.

In this tutorial, Sandro, cofounder of the Gemeos Webflow agency, shows you how to optimize image loading in Webflow with native lazy loading.

AttributeValueBehavior
loadinglazyLoads the image only when it gets close to the viewport
loadingeagerLoads the image immediately when the page loads
loadingautoLets the browser decide (default value)

1. Enable native lazy loading in Webflow

In the Webflow Designer, select your image. In the Settings panel, set the Loading field to Lazy. It’s the simplest and most efficient method: no JavaScript required.

2. Optimize above-the-fold images

Images that appear right away when the page loads, like the hero image or logo, should use Loading: Eager so they don’t slow down rendering. Lazy loading works against you here and can hurt your LCP score.

3. Add a fade-in animation on load

For a fade-in effect when lazy images load, add this CSS in an embed:

img[loading="lazy"] {
opacity: 0;
transition: opacity 0.4s ease;
}
img[loading="lazy"].loaded {
opacity: 1;
}
document.querySelectorAll('img[loading="lazy"]').forEach(function(img) {
img.addEventListener('load', function() { img.classList.add('loaded'); });
if (img.complete) img.classList.add('loaded');
});

good to know

In 2026, all modern browsers support the native loading='lazy' attribute. There’s no need to use third-party JavaScript libraries like Lozad or LazyLoad.js for this use case. The top priority for performance is serving images in the right format: WebP or AVIF, which Webflow has supported natively since 2023.

Conclusion

Lazy loading reduces initial load time and improves Core Web Vitals. Use cases:

  • Pages with lots of images (portfolio, gallery)
  • Blog pages with images in the articles
  • CMS collections with thumbnails

Published on

You might be interested in these tutorials

Similar tutorials

SEO / GEO

5 min read

5 views

How to Set Up a Redirect in Webflow? (2026)

Updated on 19.12.2025 by Sandro DA SILVA

SEO / GEO

5 min read

5 views

Add structured data to your Webflow site?

Updated on 21.08.2025 by Sandro DA SILVA

No-code

5 min read

5 views

How to Obfuscate a Link in Webflow

Updated on 23.04.2025 by Sandro DA SILVA

Let’s f*****G GO !!

Ready to launch
Your business?

Alexandre

Max

Enora

Bryan

Cannelle

Tiphaine

You'll :heart: our collaboration...