Gossamer Forum
Quote Reply
attachment
Hello,
I added a file column in my linktable, and it works fine.
Now i want to view the attachment (gif/jpg file) but a downloadbox appear.
I think I do something wrong on the file column, but who can give me suggestions what's going wrong???

Quote Reply
Re: attachment In reply to
Hi,

I posted the solution via email to you, but you can also try in GT/SQL/Admin, sub view_file, replace:

'-Content-Disposition' => \("attachment; filename=".$fname)

with:

'-Content-Disposition' => \("inline; filename=".$fname)

Same goes for Links/User/Jump.pm.

Cheers,

Alex

--
Gossamer Threads Inc.