viewerjs
viewerjs copied to clipboard
Loading a large gallery
Hi, when we try to load the viewer with 100 or more images, we have noticed
- the first image waits for quite a while before being shown. We think it waits until all 100 GET requests to the server have completed.
- clicking a thumbnail sends 2 GET requests to the server but the thumbnail image is not refreshed with the latest image returned by the server.
- If we call update on the viewer it refreshes all the images in the gallery and therefore takes quite some time again.
So, our requests / questions are
- Is there an efficient way of lazy loading many images in a gallery?
- Can the first image be shown immediately while the other images are still loading?
- Can the thumbnails be refreshed without having to re-render the entire viewer?
The Viewer.js may not be a good solution for a big list of images currently. A lot of improvements should be done in this case.