.. attribute:: THUMBNAIL_PATH
:noindex:
| The path where thumbnails are saved.
| **Default:** ``os.getcwd() + '/thumbnails-cache'``
| **Default in Django:** ``django.conf.settings.MEDIA_ROOT + '/thumbnails-cache'``
.. attribute:: THUMBNAIL_URL
:noindex:
| The prefix for the url property of an Thumbnail object. The url property
will contain this prefix and the relative path from ``THUMBNAIL_PATH``.
| **Default:** ``'/thumbnails/''``
| **Default in Django:** ``django.conf.settings.MEDIA_URL + '/thumbnails-cache'``
.. attribute:: THUMBNAIL_ENGINE
:noindex:
**Default:** ``thumbnails.engines.PillowEngine``
.. attribute:: THUMBNAIL_CACHE_BACKEND
:noindex:
| **Default:** ``thumbnails.cache_backends.SimpleCacheBackend``
| **Default in Django:** ``thumbnails.cache_backends.DjangoCacheBackend``
.. attribute:: THUMBNAIL_CACHE_TIMEOUT
:noindex:
| A timeout parameter for cache backends that does not support eternal items.
| **Default:** ``60 * 60 * 24 * 365`` (a year in seconds)
.. attribute:: THUMBNAIL_STORAGE_BACKEND
:noindex:
| **Default:** ``thumbnails.storage_backends.FilesystemStorageBackend``
| **Default in Django:** ``thumbnails.storage_backends.DjangoStorageBackend``
.. attribute:: THUMBNAIL_SCALE_UP
:noindex:
| If this is set to ``True`` the thumbnails can be scaled bigger than
the original.
| **Default:** ``False``
.. attribute:: THUMBNAIL_QUALITY
:noindex:
| Quality sent to the engine.
| **Default:** ``90``
.. attribute:: THUMBNAIL_ALTERNATIVE_RESOLUTIONS
:noindex:
| Defines which alternative resolutions should be created. Each item in the list will create
an alternative version with the number as a proportions-factor.
| **Default:** ``[2]``
.. attribute:: THUMBNAIL_DUMMY
:noindex:
| Activates the dummy thumbnail functionality, when this is active the
original image will not be opened.
| **Default:** `False`
.. attribute:: THUMBNAIL_DUMMY_FALLBACK
:noindex:
| Makes the dummy thumbnail functionality only be used if the thumbnail
cannot be created.
| **Default:** `False`
.. attribute:: THUMBNAIL_DUMMY_URL
:noindex:
| This is the url that the dummy url is generated from. It should be a
string that can be used with ``string.format`` and the arguments are width
and height, ``THUMBNAIL_DUMMY_URL.format(width, height)``
| **Default:** `http://puppies.lkng.me/{}x{}`