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

Closed
wants to merge 1 commit into 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)

Copy link
Member

@IMB11 IMB11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this PR has good intentions, but rather than loading the low res images it should just show a small "Loading" spinner in the center of the viewer, having the scaling stuff causes some weird jumping.

Also apologies for the delay in looking at this!

@IMB11
Copy link
Member

IMB11 commented Aug 6, 2025

Closing as stale, feel free to re-open if you're still wanting to work on this.

@IMB11 IMB11 closed this Aug 6, 2025
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.

2 participants