Skip to content

Make the image gallery only load the images in view #155

@georgelgeback

Description

@georgelgeback

Right now the image gallery loads all the images when going to an album. This is not great when there are 400 images to load since we then send 400 different requests to the server basically at once. It would be much better if only the images the user can see are loaded. Optionally it would also be nice if a heavily blurred extra small version of the image was initially loaded even when out of view, this requires a very small change to the server (ask spindelförmannen!). You can take some inspiration from https://nextjsconf-pics.vercel.app/.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions