emrekutlu / paperclip-compression

image compression processor for Paperclip
MIT License
72 stars 37 forks source link

Regenerate old images #8

Closed DriesS closed 9 years ago

DriesS commented 10 years ago

Is there an easy way to regenerate old images? We have for the moment 300.000 images hosted on our website and we want to optimize all this images. Is there a rake task that we can run so he will optimize the images and overwrite the old images?

All our images are stored on s3.

emrekutlu commented 10 years ago

Paperclip has some rake tasks for this purpose like “paperclip:refresh:thumbnails”. You can checkout those rake tasks.