Define paperclip style sizes dynamicaly
问题 I have an application where a user chooses a template. On this template the user can upload an image. I use paperclip to upload the images. Each template has different image sizes. Is it possible to set an image style => 'widthxheight' dynamically in paperclip? I want this functionality because if the user decides to change template then they don't have to upload the photo again they just crop the 'original'. Thanks for any help. I will try to clear this up. A user uploads an image for the