lostplaces-backend/django_lostplaces/lostplaces/__init__.py

12 lines
363 B
Python
Raw Normal View History

#!/usr/bin/env python
# -*- coding: utf-8 -*-
2020-09-19 22:50:07 +02:00
from django.conf import settings
settings.THUMBNAIL_ALIASES = {
'': {
2021-10-02 01:54:21 +02:00
'thumbnail': {'size': (300, 200), 'sharpen': True, 'crop': True, 'upscale': True},
2020-09-18 10:47:16 +02:00
'hero': {'size': (700, 466), 'sharpen': True, 'crop': True},
'large': {'size': (1920, 1920), 'sharpen': True, 'crop': False},
},
}