IMAGE HANDLING EXAMPLES

This page explains how to properly use images on websites, to ensure fast loading pages and does not use any styles on purpose to keep the code as clean as possible. Below example uses own version of images per each break point rather dann resizing images per html or CSS only.

Each image conatiner will then contain 21 versions of an image: in 5 dimensions as we have 5 break points; 5x webP image format for modern browsers, both formats (JPEG/ PNG and webP) optimized for retina displays and one fall-back image for older browsers which do not support picture tag.

Version 3 and 8 contain build-in microdata format for structured data markups.


  1. IMG tag, no lazy load
  2. IMG tag + native lazy load + lazy load by Lazysizes
    1. IMG tag + native lazy load + lazy load by Lazysizes - resolution switching: Same size, different resolutions
    2. IMG tag + native lazy load + lazy load by Lazysizes - resolution switching: by different sizes
  3. IMG tag + native lazy load + lazy load by Lazysizes + Microformat Schema for image SEO
  4. IMG tag to PICTURE tag + webP, no lazy load
  5. PICTURE tag + webP + native lazy load + lazy load by Lazysizes
  6. PICTURE tag + webP + responsive/ scaled images, no lazy load
  7. PICTURE tag + webP + native lazy load + lazy load by Lazysizes + responsive/ scaled images
  8. PICTURE tag + webP + native lazy load + lazy load by Lazysizes + responsive/ scaled images + Microformat Schema for image SEO
Download image handling package in ZIP file format
View 15 sec video which summarizes scaled/ responsive images
Requirements: Sources:
Author: Alexander Dross
Dross:Media - Agency for Search Engine Strategy & Web Performance