matthewwithanm / django-imagekit

Automated image processing for Django. Currently v4.0
http://django-imagekit.rtfd.org/
BSD 3-Clause "New" or "Revised" License
2.26k stars 276 forks source link

Delete cached images #443

Closed dg1980 closed 6 years ago

dg1980 commented 6 years ago

Hi,

referring to a closed issue (https://github.com/matthewwithanm/django-imagekit/issues/229), I would like to ask a question one more time. Maybe something has changed over time.

Are there any methods for removing images associated with instances from the cache?

vstoykov commented 6 years ago

Currently only this https://github.com/matthewwithanm/django-imagekit/issues/229#issuecomment-315690575

dg1980 commented 6 years ago

Thanks a lot.

ceefour commented 6 years ago

@dg1980 I think this should be kept as an open issue, as @vstoykov mentioned: "At the moment there is no functionality to clear specific thumbnail. If someone wants to contribute I will be very glad."

So this would be an open feature request.

Specifically, when the "parent" ImageField is delete()d then the ImageSpecField should delete also.

FinnGu commented 5 years ago

Were there any recent updates regarding deletion of images?