jnicklas/carrierwave — Issue #602: postpone Thumbnails creation
Author: aribeiro
Created: 2012-02-01 11:50:46+00:00
State: open

Hi,

I'm trying to postpone thumbnails creation on CarriwerWave, I fond I can create a method like this

def do_stuff(blur_factor)
manipulate! do |img|
img = img.sepiatone
img = img.auto_orient
img = img.radial_blur(blur_factor)
end
end

and call @my_object.image.du_stuff(2)

but this way it changes the image, but don't create a different thumbnail, I d like something I just upload the image, it don't create no one thumbnail and I can trigger the thumbnails when I like, like this

@my_object.image.create_thumbnails

There is some way to postpone this, I tried include version inside the method do_stuff, but it doesn't work.

Thanks for the help