I've added 2000 pictures to my images table and I'm using the Paperclip plugin to create thumbs. I'm wondering if there's a way to go through the database and add another :styles
element.
For example, when I added the images I had the following in my model:
has_attached_file :image, :styles => { :medium => "300x300>", :thumb => "100x100>" }
However, now I want to add a :large
attribute and have it applied to every image that's already in my table. Something like:
has_attached_file :image, :styles => { :large => "800x800>", :medium => "300x300>", :thumb => "100x100>" }
Is this possible? Or would I have to re-add all 2000 pictures?