lostplaces-backend/django_lostplaces/lostplaces/__init__.py

12 lines
346 B
Python
Raw Permalink 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 = {
'': {
2020-09-18 10:47:16 +02:00
'thumbnail': {'size': (300, 200), 'sharpen': True, 'crop': True},
'hero': {'size': (700, 466), 'sharpen': True, 'crop': True},
'large': {'size': (1920, 1920), 'sharpen': True, 'crop': False},
},
}