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

Loader is visible if the image has transparent/opaque areas #11

Open
MicroDroid opened this issue Mar 14, 2019 · 3 comments
Open

Loader is visible if the image has transparent/opaque areas #11

MicroDroid opened this issue Mar 14, 2019 · 3 comments

Comments

@MicroDroid
Copy link

No description provided.

@DCzajkowski
Copy link
Owner

Yeah, it's possible. I don't know how to fix this though. I wanted to listen to some browser event when an image loaded, but I couldn't find anything. Any ideas?

@MicroDroid
Copy link
Author

@DCzajkowski You can try to load it via an AJAX request. i.e. start with the thumbnail and blur it a bit, then load the full-size image in the background. Once done, replace the thumbnail with it.

@DCzajkowski
Copy link
Owner

Yeah, I don't think I'll be implementing that. If you want, you can fork this repo or make a PR 😉

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