Skip to content

mconventi/lazy-load-bootstrap-carousel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lazy-load-bootstrap-carousel

A lazy load version for the twitter bootstrap carousel.

A lazy load carousel delays loading of images in order to make the page load faster. It loads the images only if needed. It is useful for all web pages but mainly for web pages containing many large images. Its behaviour is opposite of image preloading.

How to use

You need to define the lazy-src="define your image path here" attribute for the images that must be loaded on demand. I suggest using the lazy load feature from the second image.

I created a simple example in the patch. It is useful to understand how to create your lazy carousel.

More info can be found on http://www.maurizioconventi.com

License

This code is released under the MIT license, you are free to use and edit it.

Releases

No releases published

Packages

No packages published