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

Is it possible to handle fallback image? #539

Open
dogrocker opened this issue Mar 25, 2022 · 1 comment
Open

Is it possible to handle fallback image? #539

dogrocker opened this issue Mar 25, 2022 · 1 comment

Comments

@dogrocker
Copy link

Describe the solution you'd like
When data-source image link is down It should load thumb image to viewer.
Is this possible?

Thanks

@Xiaoting-Ma
Copy link

Hi @fengyuanchen I'm interested in working on this issue to add a fallback image functionality. It seems like a valuable enhancement for improving user experience. I would like to request to be assigned to this issue to start working on it. Could I be assigned to this issue? Thank you!

Xiaoting-Ma added a commit to Xiaoting-Ma/viewerjs that referenced this issue Oct 29, 2023
When an image fails to load, this mechanism will try to load a fallback image instead. This ensures that the user always sees an image, even if the primary image source is unavailable.

Related to issue fengyuanchen#539.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants