I'd save the network traffic and load all images into a collection and traverse that data type for images. Wouldn't jquery work for the client-side scroll action if all the images are already local in a collection?