search for: after_resize

Displaying 1 result from an estimated 1 matches for "after_resize".

2008 Jul 07
6
MiniMagick, and processing thumbnails...
...e that outrageous.... I want to be able to upload an image, and have multiple thumbnails be created for each. Then, I want to post process each image (the main image plus the thumbnails) to add borders. The trick is that the borders need to be different for each image. I thought I could use the after_resize handler, but when I try to add a border to the passed image, the other images are also affected by this call. It seems to work like this: - create the main image - call after_resize - (DO MY STUFF) This modified image is now the basis for the thumbnails. Therefore, the after_resize gets called...