Forums

ASP

This topic is locked

Adding text to image on upload using PureASP Uploa

Posted 02 Dec 2002 22:34:17
1
has voted
02 Dec 2002 22:34:17 Joe Wallace posted:
Anyone know if it is possible to add a string of text to the image name for a database field like.
The image name is "test.jpg"
I would like to add www.mydomain.com/images/test.jpg and add the string only to my database. Probably not I am new to this so any help would be appreciated.
Thanks
Joe

Replies

Replied 03 Dec 2002 20:53:22
03 Dec 2002 20:53:22 Joe Wallace replied:
Nevermind, I figured it out how to do it. Instead of trying to add text to a field that already has text, I just added a seperate field for the image name and a url field for the full path to the file name. Then I just add the recordset fieldnames as an image.
img src="(Recordset1.Fields.Item("URL".Value)=(Recordset1.Fields.Item("MainImage".Value)".

Anyway I am new to ASP and databases, but I like it : )
Joe

Reply to this topic