Posted by Rob Anderton on August 29th, 2009 @ 10:20 – 16 comments
Updated on August 29th, 2009 @ 10:19
Tagged with attachments
Way back last November when I first blogged about Paperclip I included a brief mention of hiding files behind a controller rather than simply putting them in the public directory for all to see. Since then I’ve noticed that the question of how to actually do this has come up regularly over on Rails Forum and a couple of weeks ago I had to figure out how to update some of our code to protect assets that we had migrated from local file system to Amazon S3 storage. So I figured it’s probably a worthwhile technique to share.
Read more of this entry
Posted by Rob Anderton on February 22nd, 2009 @ 22:36 – 33 comments
Updated on February 22nd, 2009 @ 22:42
Tagged with attachments
We’ve spent the last few weeks working on a new Rails app for a film and photography site and, as you might expect from my recent posts, we’re using Paperclip to handle file uploads.
Without any more effort than a script/install of Paperclip we get thumbnailing of images and PDFs, but what about thumbnailing the video files that will be uploaded to the site? Enter FFmpeg.
Read more of this entry
Posted by Rob Anderton on November 2nd, 2008 @ 10:40 – 54 comments
Updated on August 26th, 2009 @ 17:44
Tagged with attachments
For well over a year now attachment_fu has been my plugin of choice for adding file uploads to our Rails applications, but recently my fellow WebFellas have been raving about Paperclip from the clever guys at thoughtbot. As I’ve just started yet another new project I figured it was time to take Paperclip for a spin.
Read more of this entry