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 have an asp where i wanted to embed an image that is sourced from a network directory. this image is located in network directory &quot;E:\image&quot; of my web server. it goes like this: <embed src=&quot;e:\image\picture.gif&quot;>

my problem is whenever i access the page in a different PC, the image is not displayed since the page is looking for the image file from &quot;e:\image&quot;.

thanks
 
You need to create an subweb, then map that subweb onto your network share and use that subweb to acces your pictures.

Virtual web directory named Images mapped to \\server\images for example

and then you can use
<embed src=&quot;\images\picture.gif&quot;>


________
George, M
 
That's sound interesting, but pardon my being a novice in this, how should i do that, create a subweb.

Thanks by the way.

pinoy
 
Go to IIS Management Console and on the Web Service On Default Web Site, you should be able to create New Virtual Directory.

________
George, M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top