We would like to lazy load images on scroll in imagegrid, so it can cope with large results and also is initially faster in showing the first batch of images.
Demo:
http://tinyurl.com/zbmauyv
Acceptance criteria:
- The browser should only load images in the viewport.
- When scrolling new images should be loaded.
- Some images should be preloaded so when I scroll I always see loaded images.
- The page should never jump or rearrange elements.
- Page size and column count should be responsive.
This library could be used:
https://masonry.desandro.com/