sorl/sorl-thumbnail — pull request #119 by relekang (2012-07-22 16:42:26+00:00)
Title: Generation of 'retina'-thumbnails

This adds functionality which creates a doubled sized thumbnail for every thumbnail sorl-thumbnail creates.

I added som new settings attributes: *THUMBNAIL_RETINA* and *THUMBNAIL_RETINA_NAME_LABEL*. See the copy of the documentation below.

I changed the hashes in tests.py, since _get_thumbnail_filename takes options into the hashing arguments
the test file needed new hashes which supported options with 'retina' and 'retina_label'.

``THUMBNAIL_RETINA``
=========================

- Default: ``True``

This value enables creation of additional retina thumbnails for every thumbnail.

``THUMBNAIL_RETINA_NAME_LABEL``
=========================

- Default: ``'@2x'``

This value sets the string added to the file name of a retina thumbnail.