You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Image block: Delayed response when opening image in lightbox for the first time #51555
Activity
luisherranz commentedon Jun 16, 2023
Why is the delay happening? Is it because it waits until the image has been downloaded?
artemiomorales commentedon Jun 16, 2023
@luisherranz Yes, it's because it waits for the image to be downloaded.
artemiomorales commentedon Jun 16, 2023
Note: While we are considering overall lightbox animation improvements, we could include this suggestion as part of the same PR.
luisherranz commentedon Jun 16, 2023
Is it possible to use the original image first, then switch to the full version once it's downloaded?
artemiomorales commentedon Jun 19, 2023
@luisherranz Will give that a shot! I'll also look into preloading the image on hover, which could at least help on desktop.
artemiomorales commentedon Jun 26, 2023
This has been fixed in #51721