verlok / img_srcset_lazyload

This is an example of lazy image loading with responsive images (using srcset and sizes on the img tag) and progressive JPEG image format. Best practices about web performance implemented using my LazyLoad.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LazyLoad and responsive images

This is an example of lazy image loading with responsive images and progressive JPEG image format.

These best practices about web performance were implemented using LazyLoad by Andrea Verlicchi.

SEE ONLINE DEMO

Responsive Images

Responsive images are implemented using the img tag with the srcset and sizes attributes, and picturefill as polyfill for older browsers.

LazyLoad

Images are loaded only as they enter the viewport through the usage of my LazyLoad script, which supports the srcset attribute in addition to the good old src attribute.

Progressive JPEG rendering

Progressive JPEG rendering is guaranteed through the usage of the show_while_loading option of my LazyLoad script.

About

This is an example of lazy image loading with responsive images (using srcset and sizes on the img tag) and progressive JPEG image format. Best practices about web performance implemented using my LazyLoad.


Languages

Language:HTML 91.7%Language:CSS 8.3%