Sujeet Raman

Sujeet Raman

  • 859
  • 927
  • 357.5k

base64 image coming in [src] but not rendering in tthe UI

Aug 3 2017 9:30 AM
i am binding a base64 image to the UI.which is in a loop.but image is not binding,while inspect element i can c the image but not rendering
 
 
<td>
<span>{{ m.Name }}</span>
</td>
<td>
<!--<img style="width:100px;height:100px" [src]="imageData1">-->
<img [src]="'data:image/jpg;base64,'+m.ImageData" style="height:50px;width:50px" />
</td>
<td>
<span>{{m.Age }}</span>
 

Answers (7)