I would load images in my Angular project in lazy way, the issue is that my API returns a base64 image instead of a file.
So i was trying to do something like this:
<img class="image-cover" *ngIf="product.image" [src]="'https://localhost:44350/api/images/00168780351/117920?types=products&isThumbnail=true'" loading="lazy"/>
But obviously the src is set as link and no image is shown.
What would be the way to perform that? Should i modify my API by returning a file instead?