My application is using paperclip and its working fine without any
problems, I am able to generate the thumb images and big images from
actual uploaded images. There are many images already uploaded by the
users. Now I want to create small images from the original uploaded
image. For the newly uploaded images its working fine but how can I do
the same for already uploaded image??
if photo.get_photo(:small).nil?
end
what the code I can write inside or any other way I can do the same??
You can do it by just writing a rake task which takes in the already
uploaded images one by one
and then reprocess them and upload them again.
This will take care of the small and other styles of the images.