jonasundderwolf / django-image-cropping

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

There is some sort of cache for cropped images? #40

Closed lpalomo closed 10 years ago

lpalomo commented 10 years ago

First of all, sorry for asking here but I didn't fin another way to ask you.

In the description you say "The original images are kept intact and only get cropped when they are displayed", so my question is: ¿the image is cropped on every request (in which the image is displayed) or there is some sort of cache (not cropped if the cropped version already exist)?

anrie commented 10 years ago

As stated in the docs we fully rely on easy-thumbnails for cropping our images. So all we really add to the mix is the box parameter.

Per default easy-thumbnails checks if a matching thumbnail already exists and only generates a new file if there is no matching thumb or if it is explicitly told to do so (http://easy-thumbnails.readthedocs.org/en/latest/ref/files/#easy_thumbnails.files.Thumbnailer.get_thumbnail).