Help to partialy load images in page


#1

I have thousands of images in a page. I want to load first 10 images first. After scrolling down to bottom load next 10 images automatically and so on. Can you please tell me how to achieve it in jekyll. Thanks.


#2

I think you call that lazy loading, doesn’t really have much to do with jekyll, should be pretty easy to do.

I think I used this once upon a time but not sure:


#3

Github would give you plenty of options, I usually pick either the leanest (can easily support it myself) or the most starred (because active maintenance does matter). Take a look:

Lazy Load Images (in Javascript)

Hope it helps!


#4

Thanks @pabloduo and @rdyar for helping me.


#5

@justinechacko anytime! :nerd_face: