jonasundderwolf / django-image-cropping

Django helper application to easily and non-destructively crop arbitrarily large images in admin and frontend.
Other
553 stars 131 forks source link

Clean cached images #70

Closed ngtrvu closed 8 years ago

ngtrvu commented 9 years ago

I see that there is many cached images when we're cropping the photo. I have a couple of questions:

  1. How can we clean it?
  2. How can we delete the old photo in the image field when we change it to a new file? I guess It should be there

Thank you

anrie commented 8 years ago

Hm, as we are using easy_thumbnails for thumbnail generation you should probably take a look at the options it provides.

Concerning the old photo: This is pretty much Django's default behavior. But there a solutions if you need to address this: http://stackoverflow.com/questions/2878490/how-to-delete-old-image-when-update-imagefield