Why do images take a long time to load?
Too large image files can take a long time to load
Large sized images, high-resolution images, and uncompressed images can drastically reduce the page load speed.
How do you lazy load content?
Modern browsers implement browser-level lazy loading, which can be enabled using the loading attribute on images and iframes. To provide compatibility with older browsers or to perform lazy loading on elements without built-in lazy loading you can implement a solution with your own JavaScript.