I am looking for a way to generate thumbnails of my uploaded images on the fly. I have a product model that looks kind of like this:
class Product
include Mongoid::Document
include Mongoid::Paperclip
has_mongoid_attached_file :picture
end
I basically just want to upload one high-res picture, which I can then use for thumbnails, the main image and also the high-res picture for fancy-box etc..
Is there an easy way to do this?