Skip to content

Show already-loaded low-res gallery image while full image loads #3844

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

T0RNATO
Copy link

@T0RNATO T0RNATO commented Jun 26, 2025

This is just me fixing an annoyance I personally had - the user had no indication that, when they pressed an arrow key in the gallery, that anything had happened, since the new image needed to load before anything changes. This PR makes it so it immediately displays the low-res preview image whilst the full-res image loads so that the user knows stuff is happening.

I'm aware the min-width and min-height stuff isn't really ideal - open to suggestions, but we don't have the dimensions of the full image so I'm not sure how it should be sized.

(The force push is just be forgetting to run fix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant