Gossamer Forum
Home : Products : DBMan : Customization :

Upload image with text

Quote Reply
Upload image with text
Hi. There must be a way to associate text with uploaded images but I can’t figure it out.Pirate

I'm using the Multifile Upload mod so users can add up to 5 images. I also want them to be able to add pertinent information like title, size, etc.

In html.pl, the html_record_form uses:
Code:

<input type=”file” name=”file-to-upload-$u”> #for adding and modifying images.
#This is saved in a new directory.


#Using the following I'm able to get the titles to the correct fields.

<input type=”text” name=”title-$u”>


#These fields are defined in db.cfg. as title_1, title_2, etc. and saved in the db.


When the image is viewed however, I can’t figure out how to get the correct title to appear. The number of images can vary between 0-5.

Any suggestions, please?



BTW: This is my first post but I’ve read and learned a tremendous amount from this forum over the last few years. Its an amazing place.

Last edited by:

watchjb: Nov 19, 2003, 12:39 AM
Subject Author Views Date
Thread Upload image with text watchjb 2687 Nov 19, 2003, 12:33 AM
Thread Re: [watchjb] Upload image with text
LoisC 2630 Nov 19, 2003, 3:03 PM
Post Re: [LoisC] Upload image with text
watchjb 2601 Nov 20, 2003, 12:03 AM