LazyLoad is a lightweight, flexible script that speeds up your website by deferring the loading of your below-the-fold images, backgrounds, videos, iframes and scripts to when they will enter the viewport. Written in plain "vanilla" JavaScript, it leverages IntersectionObserver, supports responsive images and enables native lazy loading.
picture images vanilla-javascript lazyload vanilla-js webp videos lazy-loading iframes srcset responsive-images hacktoberfest lazyload-images lazyload-script picture-tag intersectionobserver lazyload-iframes lazyload-videos srcset-sizes lazy-sizes
- Updated
Jul 21, 2025 - JavaScript