Home : Products : DBMan : Customization :

Products: DBMan: Customization: Re: [Kilo] Image Display Not Right: Edit Log

Here is the list of edits for this post
Re: [Kilo] Image Display Not Right
Not sure which version of the mod you are using .. single or multiple upload but there are changing to the mod which will fix the problem.

One solution:

Check to be sure that the following is in sub html_record:

$file_test = $rec{$db_key};
foreach $file (@files) {
if ($file =~ /^$file_test\./) {
print qq|<img src= "$SAVE_DIRECTORY_URL/$file">|;
$graphic_found=1;
}
}

which is the fix for the single file upload version. Check the FAQ noted below under "Images" and see the fixes for multiple version if that is what you are using.

You may want to check the FAQ just so you know you have all the latest changes.

Besides changes from:

## $file_test = $in{$db_key} . ".";

to:

$file_test = $rec{$db_key};

There are also changes from:

# if ($file =~ /^$file_test/) {

to:

if ($file =~ /^$file_test\./) {

within the single file upload mod.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/

Last edited by:

LoisC: Jun 21, 2004, 1:46 PM

Edit Log: