I am trying to use Material UI's Avatar with images outside the website.
<Avatar
src={'http://localhost:3030/images/a/1651325908227-Capture.PNG'}
/>
If I try using an online source(not my local server) it seems ok:
<Avatar
src={'https://mui.com/static/images/cards/basement-beside-myself.jpeg'}
/>
Other images on the website load correctly from the same backend.
from Use an online image in MUI Avatar?
No comments:
Post a Comment