Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
7
Reply
base64 image coming in [src] but not rendering in tthe UI
Karthik Kumar
Aug 3 2017 9:30 AM
256
Reply
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>
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
7
)
Next Recommended Forum
Angular2 Cannot read property 'nativeElement' of undefined
how add customized column through UI in prime NG data table