Deprecated since Flickity v1.1 has been released with lazyLoad option added.
Enables the lazyLoad
option for Flickity
<img data-lazy="http://i.imgur.com/r8p3Xgq.jpg"/>
var flkty = new Flickity( '.main-gallery', {
// load images ondemand or progressive
lazyLoad: 'ondemand' // or lazyLoad: 'progressive'
})
Bower: bower install flickity-lazyload
npm: npm install flickity-lazyload