X
Back to the
Component Shop
Read this first! Accordion Alert / Callout Another Lightbox Gallery Auto Sidebar Backbutton Basic Form Before/After Comparison Buttons Collapsible Alert Contact Form Count-down Script CSS Parallax Cut-out Text Decorative Background Details/Summary Classes Drilldown Menu Drop-down Equal Height Columns Filtered Portfolio Flip-cards Glossary Table Hamburger Menu HTML Quiz Horizontal Tabs Image Gallery Image Modal Image Shapes Image Slider with Fade Jquery Parallax Lazy Loading Lightbox Gallery Masonry Grid Gallery Mega Menu Modal Optimal Image Sizes Oval Image PHP Includes Range Slider Read More Button Responsive Card Table Responsive Navbar Responsive Shrinknav Responsive Sidebar Responsive Table Round Image Scroll to Top Searchbox Simple Shapes Simple Cards Simple Slider Skill Bars Slide-in Nav Subnav in Dropdowns Tabbed Gallery Tab Navigation Text on Image Translucent Image Translucent Text Layer Vertical Tabs Video Video Scroller Wrapping Text Years Completed Zebra Striped Table

Lazy Loading

image
The comments have been placed here between the two images in order to push the second image further down, so that you need to scroll down to see it, unless you have a very large monitor, that is.
'Lazy loading' is a technique to make images that are outside the viewport not load until they are within the viewport. It is a way of speeding up the delivery of page contents, so only what you first see when opening a page is fully loaded, and elements further down the page will only be loaded when/if you scroll down view to them. This is especially useful if you have very long pages with a number of images. The blurred images that first appear are just mini-mini versions of the 'real' images, and they get blurred when they are blown up to the size of the real images.
Actually, what I should have done here, would have been to let the first image load normally. It is recommended that images that will be within the viewport when the page is opened, should not be lazy loading. But just for this demonstration I have not abided by that advice.

(The images are from Arendal in Norway, taken at the same time, one to the south-west where the sun had just gone down, the other facing the other way catching the coloration of the clouds.)

Download the component.

image