Gossamer Forum
Home : Products : DBMan : Customization :

Re: Multiple Image Upload

Quote Reply
Re: Multiple Image Upload In reply to
How about in the html.pl file, where you would normally specifiy:

foreach $file (@files) {
next if ($file =~ /^\./); # Skip "." and ".." entries..
next if ($file =~ /^index/); # Skip index.htm type files..
print qq|<img src="$SAVE_DIRECTORY_URL/$rec{$db_key}/$file" border=0></td>|;
}


you change to:
print qq|<img src="$SAVE_DIRECTORY_URL/$rec{$db_key}/file1.jpg" border=0></td>|;

You then just make sure that each record has its files named file1, file2 etc. so you can reference them throughout the results page.

HTH. Brian

Subject Author Views Date
Thread Multiple Image Upload tgardner 2047 Nov 25, 2000, 2:47 PM
Thread Re: Multiple Image Upload
omegadm 2007 Nov 26, 2000, 10:08 AM
Post Re: Multiple Image Upload
tgardner 1993 Nov 26, 2000, 11:58 AM
Thread Re: Multiple Image Upload
Schani 2004 Nov 27, 2000, 3:23 AM
Thread Re: Multiple Image Upload
omegadm 1975 Nov 27, 2000, 3:42 AM
Thread Re: Multiple Image Upload
Schani 1982 Nov 27, 2000, 4:53 AM
Thread Re: Multiple Image Upload
omegadm 1974 Nov 27, 2000, 6:30 AM
Post Re: Multiple Image Upload
Schani 1980 Nov 27, 2000, 6:37 AM