Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

embed an image located in a network directory

Status
Not open for further replies.

pistolpinoy72

Technical User
Jul 31, 2003
10
PH
i wanted to embed an image located in a network directory, say "e:\image", that is part of the mapped drive of my web server. i tried the code below but whenever i access the page in a different PC, the image is not displayed (the page is still looking for "e:\image").

<embed src=&quot;e:\image\picture.gif&quot;>

thanks
 

Unless each PC that accesses your page has access to the E: drive, then that will always fail.

Each PC that is going to access the code needs access to the image - otherwise how can it possibly display it?

If you can't map a drive, consider running a web server on the machine that hosts the E: drive.

Dan
 
Each PC that will access the image must also have a mapped drive named &quot;E&quot; that points to the file on the network directory. Very tricky and difficult at best to accomplish.

There's always a better way. The fun is trying to find it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top