-
Notifications
You must be signed in to change notification settings - Fork 74
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
Fallback image #66
Comments
No, I wouldn't want the ability to retry—I would want to just show the default avatar. |
I would say this is a bit different component. It is possible to add this logic to the existing component, but it is already pretty big. Initially I planed to implement small components, like lazy-load or adaptive-load and combine later in IdealImage, I didn't find a good way to compose them and gave up the idea. If such primitives would exist in this project it would be possible to construct what you want, but I do not want to overcomplicate existing component. Other UX questions/ideas:
|
It'd be great if one could pass a fallback image to be used if loading the actual image fails. (this is useful for sites with user-uploaded photos that might not always be available) It could look something like:
The text was updated successfully, but these errors were encountered: