htmlimagelocal-files

How can I display locally stored images on an internet website?


i would like to display images on my website that are stored on a visitors local filesystem.

Assuming I have the location of the image on the visitors drive (e.g. c:\Documents And Settings\Ropstah\image.png), is it then possible for me to display this image in my internet website (e.g. www.website.com)?

The images won't seem to load when i use the following syntax (Internet Explorer 7, Firefox 3 etc..):

<img src="file://c:\Documents and Settings\Ropstah\image.png" />

The images DO display if the .html file (which i use on website.com/index.html) is located on my local pc...


Solution

  • This sounds like security settings on the web browser, which are probably set to a level that prevents local filesystem access for an internet site.

    Security settings can be edited by users, in a way specific to each browser. for example for IE it's Tools -> Internet Options -> Security