Forums
This topic is locked
image url in database - help me pls !
Posted 01 Apr 2002 07:49:00
1
has voted
01 Apr 2002 07:49:00 nigel smith posted:
help !... how do i automatically insert a url into my database dependent on name of file uploaded .... (url will always take form of /uploads/images/IMAGENAME.jpg) ... imagename needs to be the same as the name of image uploaded Replies
Replied 01 Apr 2002 13:16:09
01 Apr 2002 13:16:09 Matthijs Horsman replied:
Hi Nigel,
If your using PureAspUpload it's pretty simple... <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle><img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> Then you use a insert record in combination with the PureAspUpload extenion and choose to upload the name of the pic. But am not sure if that's what you mean...
if it's not, please provide more info, so "maybe" i can help you out...
Matthijs
If your using PureAspUpload it's pretty simple... <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle><img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> Then you use a insert record in combination with the PureAspUpload extenion and choose to upload the name of the pic. But am not sure if that's what you mean...
if it's not, please provide more info, so "maybe" i can help you out...
Matthijs
Replied 01 Apr 2002 15:27:44
01 Apr 2002 15:27:44 Viktor Farcic replied:
<a href="/uploads/images/<%=(TableName.Fields.Item("FieldName".Value)%>"><%=(TableName.Fields.Item("FieldName".Value)%></a>
Viktor Farcic
TalkZone Manager
Viktor Farcic
TalkZone Manager
Replied 02 Apr 2002 06:16:48
02 Apr 2002 06:16:48 nigel smith replied:
thanks ... but i'm not using pureAspUpload (i'm using the Com object AspUpload) ... i guess the answer would be to examine the code that PureASPUpload writes ? to see how it performs the task of writing the image URL to the Database ?