# Rails Plugin Fix For attachment\_fu/Kropper Scaling

**URL:** <https://www.ruby-forum.com/t/rails-plugin-fix-for-attachment-fu-kropper-scaling/116086>\
**Category:** Rails\
**Created:** [October 2, 2007, 7:14am UTC](https://www.ruby-forum.com/t/rails-plugin-fix-for-attachment-fu-kropper-scaling/116086 "2007-10-02T07:14:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![preston](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a587f6/32.png) [@preston](https://www.ruby-forum.com/u/preston)\
**Post date:** [October 2, 2007, 7:14am UTC](https://www.ruby-forum.com/t/rails-plugin-fix-for-attachment-fu-kropper-scaling/116086/1 "2007-10-02T07:14:10Z")

</div>

I recently integrated Kropper into a RoR application. 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.

It’s a quick monkeypatch. Hope someone finds it useful 🙂

Links/Instructions: [http://www.prestonlee.com/archives/147](http://www.prestonlee.com/archives/147)

Preston

---

<div class="post-metadata">

**Author:** ![preston](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a587f6/32.png) [@preston](https://www.ruby-forum.com/u/preston)\
**Post date:** [October 15, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/rails-plugin-fix-for-attachment-fu-kropper-scaling/116086/2 "2007-10-15T23:02:41Z")

</div>

Hello,

2007/10/2, Preston L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> It’s a quick monkeypatch. Hope someone finds it useful 🙂
> 
> Links/Instructions: [http://www.prestonlee.com/archives/147](http://www.prestonlee.com/archives/147)

Yes, I do! But I can’t load your plugin, your ssl server seems to have  
a broken certificate ☹

Do you have another download link?

Beate

---

<div class="post-metadata">

**Author:** ![preston](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a587f6/32.png) [@preston](https://www.ruby-forum.com/u/preston)\
**Post date:** [October 18, 2007, 5:02am UTC](https://www.ruby-forum.com/t/rails-plugin-fix-for-attachment-fu-kropper-scaling/116086/3 "2007-10-18T05:02:46Z")

</div>

It’s not actually broken… just self signed. The public URL is…  
[https://svn.openrain.com/opensource/public/rails/plugins/](https://svn.openrain.com/opensource/public/rails/plugins/)  
attachment\_fu\_skip\_resize/

Coincidentally, I gave a presentation yesterday night to the Phoenix  
Rails group on this stuff: attachment\_fu, Kropper,  
attachment\_fu\_skip\_resize, Rmagick, and what we’re doing with it all  
for the face-based searching the computation services behind  
(upcoming) [Mugr.com](http://Mugr.com). Slides and audio links are available on my blog,  
here…  
[http://prestonlee.com/archives/149](http://prestonlee.com/archives/149)

The audio is featured as Rubyology Podcast #48.
