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

Interdev with images

Status
Not open for further replies.

NinelG

Programmer
Feb 14, 2003
9
US
I am using an asp page that is directly under the root directory of my project.
I am trying to load an image.
Here is a snippet of my code:

sProdTypePic= &quot;<img src='images/PickerEdge.jpg' alt='MRI' align='MIDDLE' border='0' width=148 height=111>&quot;

<table border=0 cellpadding=0 cellspacing=0 width=100%>
<tr>
<td><%=sProdTypePic%></td>
</tr>
</table>

What am I doing wrong? Is it because I'm trying to build it dynamically?



 
>> What am I doing wrong?

duno... what is the error?

-pete
 
There's no error.
The image loads with an x in it..which means it doesn't load.
 
it means the path is wrong or it's not there

>>'images/PickerEdge.jpg'

after the page loads u can type that into the address bar at the end of ur current location and get the image, or not if the path is wrong.
There are only 10 types of people in the world, those who understand binary and those who don't

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top