views:

76

answers:

1

Hi,

I discovered a bug in my Rails app due to Rails app and gems upgrades and undocumented code from the previous developers. I have a lot of images that have been processed, but not sized correctly using attachment_fu. All of the images that were uploaded since the upgrade need to be resized correctly.

Does anyone have any ideas to reprocess all of the images within the folders and resize them to the correct sizes? I'd hate to have to do these all manually.

THANKS!! Cindy

+1  A: 

attachment_fu uses imagemagic, so you (probably) already have it installed. Here's how to use it via command line http://www.imagemagick.org/script/command-line-processing.php

Anna
Actually, I'm using imagescience for the file processing.
cswebgrl
I think annaswims still has the right approach, modify them from the commandline, there are decent imagescience directions here: http://seattlerb.rubyforge.org/ImageScience.html
Mike Buckbee