I want to show a image in my code. The image has been saved in text format in my database. I convert the string of image in image with the following line code:
<img [src]="'data:image/png;base64,'+zona?.fotografia">
I succeed to show the image in the page, but in the console there are the following errors:
WARNING: sanitizing unsafe URL value data:image/png;base64
GET unsafe:data:image/png;base64, net::ERR_UNKNOWN_URL_SCHEME
If i have seen the possible solution for the warning, i didn't understand the other error..