You may need to trust a URL first, otherwise the DomSanitizer will remove it (see the docs).
url = sanitizer.bypassSecurityTrustUrl('data:image/jpeg;base64,' + image)
Then you can use that url and bind it:
.
You may need to trust a URL first, otherwise the DomSanitizer will remove it (see the docs).
url = sanitizer.bypassSecurityTrustUrl('data:image/jpeg;base64,' + image)
Then you can use that url and bind it:
.