Evil Twin attachment_fu with ImageScience and MiniMagick
4 March 2008
There’s now a forked version of attachment_fu with the hack built in. But I’m tending toward Paperclip these days for my uploading needs. No need to faff about with FreeImage.
By far the highest trafficked page on this site is my hack for attachment_fu that gives you non-rubbish thumbnailing, cropped without screwing up the proportions of the image.

Having read the Errtheblog post about evil twin plugins, I thought it might be a good idea to provide my own. Even though he shows an example using attachment_fu, Chris permanently changes the behaviour rather than enhancing as in my method.
So, I present attachment_fu_hack. It just does what the source code hacking from my previous article does, but in a plugin.
I’ve moved the link from my old SVN on Dreamhost to github. Yay.
script/plugin install git://github.com/andycroll/attachment_fu_crop_imagescience.git
Hope you find it useful.