Access images from network drive in HTML image tag

1.8k Views Asked by At

I have around 1000 images available in network drive

\\imagestore\appimages\{imageName}

I want to show all images on a web page (html) which is also hosted in same network.

When I hit image URL e.g

\\imagestore\appimages\image1.jpg

it shows me the image but when I assign same path to html image element

<img src="\\imagestore\appimages\image1.jpg" />

it does not show it in img tag.

I found a solution where we change all images into base64 string and give base64 string in src attribute of img tag, it works but page becomes so slow and halts.

I also tried giving path like

file://///imagestore/appimages/image1.jpg

but its also not working.

Can you please suggest me any other best way to show image from network drive in HTML img element.

0

There are 0 best solutions below