First, Rick Olson - excellent plugin!
Second, Mike Clark - excellent tutorial on file_system backend!
Third, Ron Evans, excellent tutorial on database backend (http://
I am having serious trouble getting database storage working. I
haven't found much information regarding using attachment_fu with a
database backend, but I've almost got it working and have a strange
It appears to be storing the entire file in the database, but when I
pull it out and display it the image stops rendering after around 40K
(haven't measured exactly where it cuts off, but files smaller than
about 40k render and download completely). It is the same when I
download the file, the downloaded file has the right dimensions, but
the image only fills up part of the size of the original. The part
filled in is sequential from the beginning. I am very confused.
The other alternative for me is to store the files on the file system,
but they must be protected from direct download. These are
confidential documents that I am uploading (driver's lisenses, birth
certificates, social security cards, etc). Is there a way to protect
the files from direct download and also allow them to be viewed and
downloaded by logged in users (admins)?