It would be really cool if holder.js and lazyload.js worked together. The justification for this is that these two plugins have highly complementing roles in handling image loading.
The two main problems with making these two plugins compatible are:
What are people's thoughts on image lazyloading?
Could you let me know how you aim to use lazyload.js with Holder?
hi @imsky, I would just like to replace the Holder.js drawn <canvas> placeholders with the actual <img> or background-image as specified by lazyload.js. An example use would be in a newsfeed/endless scroll-like list like one sees on many popular sites.
Ideally the canvases would be drawn responsively (% instead of px height/width) such that they, like the images which will replace them, could fit multiple form factors.
lazyload.js support, fix #24
I've added support for fluid placeholders, fixed-width placeholders work well with lazyload.js. Let me know how it works for you.
hi @imsky this is awesome, i'll check it out!
Awesome. Thanks for the fix.