I am using the easy-thumbnails lib in django to create thumbnails. However, I can't figure out how to override the thumbnail naming process. At the moment the lib is appending the thumbnail size to the file name, but I would like to specify a custom name e.g. _large. How can this be done please?
Best How To :
django-easy-thumbnails uses default renaming function. You can write your own naming function and set it in settings as a default naming function the library should use, as described here THUMBNAIL_NAMER:
def namer(thumbnailer, prepared_options, source_filename,
# do something and return name
THUMBNAIL_NAMER = 'myapp.utils.namer'