I create an Angular 4 application. I would like to get a picture that is on my computer (not good but temporary) and call with a relative path.
this.avatar = 'C:/Users/....../images/picture.png';
<img [src]="avatar" class="user-img"/>
But I have a security problem, do know why and what can I do ?
Thanks !