Skip to content
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

pswp__img--placeholder image is showing after showAnimationDuration #1000

Open
lazarofl opened this issue Oct 22, 2015 · 1 comment
Open

Comments

@lazarofl
Copy link

After showAnimationDuration the thumbnail image .pswp__img--placeholder is showing for a few miliseconds (like a blink of an eye).

When I'm disabling showAnimationDuration setting him to 0 the problem disappear, I want to mantain the default behavior yet.

@mjau-mjau
Copy link

You are using option msrc I assume? That would be the only reason a different image would be displaying temporarily in photoswipe. Basically this is correct behavior, as it displays a small image before the larger image is loaded. The process is not flawless, as often it seems counter-productive to display a small image for less than a second, before a larger image starts loading, especially if the larger image is progressive.

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

No branches or pull requests

2 participants