Featured In Rubyology Podcast #48
The talk I gave at yesterday’s Phoenix Rails meeting will be featured in Rubyology Podcast #48, courtesy of Chris Matthieu. Thanks for the effort and kind words! The Mugr.com demo portion at the end got cut out unfortunately, but the meat of the technical discussion is available for your listening pleasure.
Slides: Keynote PDF
Listen Online or Subscribe on iTunes
Tags: openrain, podcast, presentation, rails, ruby, rubyology
Rails Presentation: attachment_fu, Kropper and Mugr.com face-based services preview.
I’m giving a brief talk at tonight’s Rails meeting in Chandler at 7:00pm on what we’re doing with attachment_fu and Kropper for upcoming face-based search service mugr.com. I’ll post the slides afterwards for those who can’t make it, but you won’t get to see the Über-secret developer build unless you come :)
Tags: attachment_fu, kropper, mugr, rails, slides
Rails attachment_fu/Kropper Scaling Fix: attachment_fu_skip_resize
I recently integrated Kropper into a custom RoR application for OpenRain affiliate img surf. A fundamental flaw in the upload-save-crop-save process used by Kropper is that attachment_fu automatically scales down the image on first save to :resize_to dimensions. After the subsequent crop–which may result in a significant drop in resolution–the image is scaled back up to :resize_to dimensions: an ugly lossy operation.
The attachment_fu_skip_resize plugin gives attachment_fu the ability to temporarily bypass resizing of the full-size original image, thus allowing your final cropped photos to be of the highest quality as possible.
- Install the plugin.
- In your attachment_fu image class, add..
attr_accessor :skip_resize
- Any time you want to save an image without invoking resizing on the original image..
image.skip_resize = true image.save
Thumbnails will be generated at their defined resolutions regardless of the skip_resize flag.
Tags: attachment_fu, fix, howto, javascript, kropper, plugin, rails, ruby


