well, i am reading out an image folder with lets say 300 images with php. It runs fine.
To reduce bandwidth, i want to load the images only, if they are in the viewport.
If I'm not wrong you want your images to load when you scroll down the page. So, you need to use lazy loading in your application.
Let me know if you have any question.
So you are looking for an infinite scrolling, as far as I understand.
You have some plugins that may help you: