Wrox Home  
Search P2P Archive for: Go

  Return to Index  

interdev_programming thread: Loading Images


Message #1 by "ninel gorbunov" <ninel_g@h...> on Fri, 14 Feb 2003 19:37:38
It looks like you're leaving the monarch directory out of the path.  Try:

/monarch/images/PickerEdge.jpg

> When I type the path of the image in the url it loads the image.
E> x:  http://server/monarch/images/PickerEdge.jpg

> But if I use the path of the image in the <img src> tags it doesn't 
load.

> ??????

> 
>>  I am using Interdev without a source control. I downloaded Windows NT 
o> > ption pack for a web server. Am I missing something in order to load 
p> ics?

> > 
>> >  I added "/" to the beginning if the path. It still doesn't work.
A> > > ny other possible reasons?

> > > > Missing "/"

> > > <img src='/images/PickerEdge.jpg' alt='MRI' align='MIDDLE'
b> > > order='0' width=148 height=111>"

> > > -----Original Message-----
F> > > rom: ninel gorbunov [mailto:ninel_g@h...]
S> > > ent: Friday, February 14, 2003 2:38 PM
T> > > o: Interdev_Programming
S> > > ubject: [interdev_programming] Loading Images

> > > I am using an asp page that is directly under the root directory of 
my
p> > > roject.
I> > >  am trying to load an image, but it won't load.
H> > > ere is a snippet of my code:

> > > sProdTypePic= "<img src='images/PickerEdge.jpg' alt='MRI' 
a> lign='MIDDLE'
b> > > order='0' width=148 height=111>"

> > > <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 
d> ynamically?
-> > > --
C> > > hange your mail options at http://p2p.wrox.com/manager.asp or
t> > > o unsubscribe send a blank email to
%> > > %email.unsub%%.

> > > 
C> > > onfidentiality Notice: This e-mail message, including any 
a> > > ttachments, is for the sole use of the intended recipient(s) 
a> > > nd may contain confidential and privileged information.  
A> > > ny unauthorized review, use, disclosure or distribution is 
p> > > rohibited.  If you are not the intended recipient, please 
c> > > ontact the sender by reply e-mail and destroy all copies of 
t> > > he original message.

  Return to Index