0

I want to display in some cases upwards of 250 images in a scrollable tab on a web page. The thing that scares me about doing this is the possible lag in UI responsiveness due to so many images getting loaded all at once.

Is there a way to prevent displaying of images until they are scrolled into view so that only the small percentage of them that are displayed at any given time (4 or 5 on a phone, maybe 40 or so on a large desktop) are loaded (just-in-time)?

4

0 回答 0