We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, when I use UAvatar and the user's photo returns a 404, it generates an <img> with the broken image icon:
UAvatar
<img>
Is there a way to make the image that returns 404 display text from the alt instead? In the documentation it says:
When no icon or text is provided, the initials of the alt prop are used as fallback
alt
Can alt also be used as a fallback when the image is broken?
Example:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Currently, when I use

UAvatar
and the user's photo returns a 404, it generates an<img>
with the broken image icon:Is there a way to make the image that returns 404 display text from the alt instead?
In the documentation it says:
Can
alt
also be used as a fallback when the image is broken?Example:
The text was updated successfully, but these errors were encountered: