ui
ui copied to clipboard
[UAvatar] If the image does not exist, return text
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:
When no icon or text is provided, the initials of the
altprop are used as fallback
Can alt also be used as a fallback when the image is broken?
Example: