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

Replace images that don't work #118

Open
skittery opened this issue Apr 19, 2018 · 0 comments
Open

Replace images that don't work #118

skittery opened this issue Apr 19, 2018 · 0 comments

Comments

@skittery
Copy link

Strange question - I have a list of images that a few of them sometimes are broken links (long story).
Before I started using lazy load, I had a script that replaced them with a fallback general image if the image was a broken link (using !isImageOk).
How can I add an exception that when adding an image when lazyloading, it will check if the image is ok and if not it will add a fallback image?

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

1 participant