Categorized: Rails
Things I want to do with file_column (or something else)
- Rename the image file (perhaps using the ID of the item it belongs to)
- Convert the image to a standard format (JPEG)
- Add a watermark
Are these things possible with file_column or acts_as_attachment?
Comments
You should be able to implement at least #s 2 and 3 with the before_foo callbacks (I’m thinking before_save). #1 might be the same thing.
It should be possible, check out this page
I think you can use the :transformation option to do all the extra image manipulation you want.
What do you think about that?