I am using ng-upload functionality of Angular JS and WEB API to upload the picture in my local drive whose path as follows:- "D:\Images\abc.jpg".
I am storing the file url of image in the database like in this case "D:\Images\abc.jpg" will be stored in Database.
I am trying to use following functionality to show the image in Angular JS:-
<img ng-src="file:///D:/Images/abc.jpg">
When I try to load the page in Google Chrome browser then I get the following error:-
Not allowed to load local resource: file:///D:/Images/abc.jpg
Currently the site is under development and I am using IISExpress to serve the HTML Page.
Users will upload many images using my site. What is the best way to store and load images in Angular JS?
How to achieve this in detail?