How to display image that has UNC path?

Hi, I am trying to display image where its src parameter is UNC path like the following:
<img id="imgViewer" src="\\user-89dc945c9a\3\Download.gif" border="0" alt="Download.gif" >

But the image does not appear.

if src parameter does not accept UNC paths is there a script that allow me to display this image?
Please help
LVL 3
Abdu_AllahAsked:
Who is Participating?
 
MechanTOurSConnect With a Mentor Commented:
I don't know if there's a direct solution.

"file:////user-89dc945c9a/3/Download.gif" is the right way.
but u may not be able to view it from an hosted page:
i think it is a security restriction

Do u want the page to display an image from local network ?

couldn't u install a little webserver on user-89dc945c9a ?
http://lighttpd.net/

Is ur code dynamically generated ?
why can't u put ur pictures with ur webpage ?
0
 
b0lsc0ttIT ManagerCommented:
This question is a duplicate of http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_21830397.html.  You can have one question deleted, lower the points on both questions to keep below the 500 point max, or turn one question into a pointer (20 points) to the other question (500 point).  You can post to Community Support for help doing this.
0
 
ZvonkoConnect With a Mentor Systems architectCommented:
Check this:

<img id="imgViewer" src="file:////user-89dc945c9a/3/Download.gif" border="0" alt="Download.gif" >

0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
Abdu_AllahAuthor Commented:
Zvonko , Do you mean: "file:\\\\user-89dc945c9a\3\Download.gif" and not "file:////user-89dc945c9a/3/Download.gif"

however both case does not work.
0
 
Abdu_AllahAuthor Commented:
Actually if I open the html page that contains that tag from the LAN(inside firewall) it works fine but it does not work if I open the page from browser behind firewall...any suggestions?
0
 
Abdu_AllahAuthor Commented:
>Is ur code dynamically generated ?

Yes.

I think the best way is to copy files programatecally to the web page and delete them after finish.
0
 
Abdu_AllahAuthor Commented:
MechanTOurS

>i think it is a security restriction

How can I remove the resrection? Is it possible?
0
 
MechanTOurSCommented:
i don't think so.
it is the purpose of such restriction.
u need a little webserver on ur machine.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.