I have a simple rails app and i use paperclip gem for my image processing. after uploading an image with a style like (:thumb => "30x30#")
and i later want to add a new style like (:large => "300x300>")
. the problem i am having is that, if i add the new style i would have a broken image link when rendering the image unless i upload a new image or update the old one. is it possible to regenerate the styles of the previously uploaded images? if so i would like to know how or do i have to re-upload the images again to have the new styles.
went trough the paperclip documentation and found this.
rake paperclip:refresh:missing_styles
and it worked
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With