search for: recreate_versions

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

2011 May 22
1
How do you crop an image with carrierwave 'after the fact' in rails?
...e that image. Essentially, I want to make it a 2-stage process. I know how to do the javascript part, and I understand the basic flow of how to create this functionality. However, I am not aware of the carrierwave specifics on how to accomplish this. The closest thing I can find is: image.recreate_versions! But I still can''t pass in the height/width and starting x,y to crop it. For example, how can I tell carrierwave to do the cropping ''after the fact'' - i.e. not when the image is uploaded for the first time? I see methods to "process" the image, but they happen...