Skip to content

ErezNagar/Blurry-Image-Loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blurry-Image-Loader

A React component to progressively load images. Inspired, galvanized, energized and influenced by Medium's image loading. alt tag

Blurry Image Loader works by first loading a light-weight placeholder image, which is a tiny tiny version of the original (and potentially heavy-weight) image. While the main image is being downloaded by the browser, the placeholder is rendered, taking the same dimensions as the original image would, once downloaded.

Since the placeholder is a tiny version of the original, it streched to fit the original dimensions, causing the placeholder to be blurry. When the original image is finally downloaded, it is rendered instead of the placeholder.

About

A React component to progressively load images

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published