I have call images in base64 from mysql database and the image can be display properly when i run in browser using ionic serve. But, when i try to run on android emulator the image is not display. Anyone please help me.
Here is my html code
<ion-card class="card" *ngFor = "let letter of letters;">
<ion-label>
<h2>{{letter.message}}</h2>
<h5>Date:{{letter.date}} Time:{{letter.time}}</h5>
<ion-img [src]="'data:image/jpeg;base64,'+letter.image" alt="Select Image"></ion-img>
</ion-label>
</ion-card>
Anyone please help me.
Thank you in advance.