Forums

This topic is locked

Please help - displaying image

Posted 28 Jul 2001 09:28:49
1
has voted
28 Jul 2001 09:28:49 Azlina Salmin posted:
Hello..hope anyone can help..
I've successfully applying PureASPUpload and it works.What happened is, when i want to display the record that contains picture which had been upload, the picture didn't appear instead a symbol of red X ( no image) appear...I insert the field by using insert image - datasource and select the image filed..but nothing appear. In my database, the image field(that been upload) just contains the image name such as "button.gif"
So can anyone help?

Replies

Replied 28 Jul 2001 10:57:53
28 Jul 2001 10:57:53 Viktor Farcic replied:
You probably haven't put path to the image. Find code for displaying image and add path to it. Something like:
<img src="/images/<%=(tblImages.Fields.Item("ImageName".Value)%>" border="0">

The other way is to put this page in the same directory with images.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hello..hope anyone can help..
I've successfully applying PureASPUpload and it works.What happened is, when i want to display the record that contains picture which had been upload, the picture didn't appear instead a symbol of red X ( no image) appear...I insert the field by using insert image - datasource and select the image filed..but nothing appear. In my database, the image field(that been upload) just contains the image name such as "button.gif"
So can anyone help?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>



Edited by - vfarcic on 07/28/2001 10:58:30

Edited by - vfarcic on 07/28/2001 11:00:34
Replied 28 Jun 2004 19:15:25
28 Jun 2004 19:15:25 Peter Dimako replied:
I'm having the same problem and that solution doesn't work for me. My service provider has a directory set for "data" and this is the only directory I can use ASPUpload on. The path is fine and the image is uploaded but still no image is displayed. If I use the code below it adds on the path exactly same but twice. What now?
Replied 28 Jun 2004 19:48:14
28 Jun 2004 19:48:14 Kent Steelman replied:
Are you using the Related or Absolute option. Which database... Access.
I am using Access and the option of Related.

Wm. Kent Steelman
Replied 28 Jun 2004 19:51:25
28 Jun 2004 19:51:25 Kent Steelman replied:
Last question is the file image only being stored or do you have the option of store image with path checked?

Wm. Kent Steelman

Reply to this topic