Gossamer Forum
Home : Products : DBMan : Customization :

Upload Graphic Problem

Quote Reply
Upload Graphic Problem
I have recently installed JPD's file upload mod on top of dbman with long/short record mod.

Files (jpg) upload fine and when modifying a record to upload the file, it is displayed OK using the sub html_record_long.

When I do a search for the record, the jpg file is missing when using the sub html_record_long to display the same record?

Any ideas anyone?


Keef

Quote Reply
Re: Upload Graphic Problem In reply to
Set $db_bold=0; in your .cfg file and see if that fixes the problem. If so, then you need to add

$rec{$db_key} =~ s/<.?B>//g;

to sub html_record_long.

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Upload Graphic Problem In reply to
JP - you cracked it again!

My own stupid fault for not following your upload mod instructions properly.

You really do know this thing inside out!

Thanks again,

Keef

Quote Reply
Re: Upload Graphic Problem In reply to
Experience. It's all experience. Smile

I wish I had a buck for every time this has come up -- and for all the times I couldn't figure out the problem! Don't feel too bad. You're in a very large group!!!! Wink

JPD
http://www.jpdeni.com/dbman/