I have to show all images that are coming from a server as base64 strings. Thereofre I have created an array of images like this:
for (let i in json) {
this.imageArray.push({
imageUrl: json[i].datas
})
}
Now, I am trying to show these images from array in html file:
<ion-list no-lines>
<ion-item *ngFor="let item of imageArray">
<ion-img src="data:image/*;base64,{{item.imageUrl}}"></ion-img>
</ion-item>
</ion-list>
But the images are not shown. What am I doing wrong?