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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reference to images outside the URL

Status
Not open for further replies.

ojf

Instructor
Sep 27, 2000
49
0
0
NO
Is it possible to have a reference to an image placed in a directory like this:

The full path for the default.asp is:
D:\users\abcnet\html\default.asp (= The full path for the image is:
D:\users\abcnet\img\rose.img

How do I set up the html tag: <img src=??????>

Olav
 
In the case above the tag would read...

&quot;<img src=../img/rose.img&quot;>

This simply moves up one directory level, opens the &quot;img&quot; directour and looks for an image called &quot;rose.img&quot;

You could alternatively use the full network path of the img as the src attribute. e.g.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top