Thumbnails for images and videos #87

Merged
Anna Sirota merged 28 commits from thumbnails into main 2024-04-25 17:50:58 +02:00
Showing only changes of commit 6d94e12cdd - Show all commits

View File

@ -251,7 +251,7 @@ def make_thumbnails(
optimize=True, optimize=True,
progressive=True, progressive=True,
) )
logger.info('Saving a new thumbnail to %s', output_path) logger.info('Saving a thumbnail to %s', output_path)
# Overwrite files instead of allowing storage generate a deduplicating suffix # Overwrite files instead of allowing storage generate a deduplicating suffix
if default_storage.exists(output_path): if default_storage.exists(output_path):
logger.warning('%s exists, overwriting', output_path) logger.warning('%s exists, overwriting', output_path)