#54 Scaling image up while cropping

This commit is contained in:
reverend 2021-10-02 01:54:21 +02:00
parent f7dab77229
commit c8399b9ce4

View File

@ -5,7 +5,7 @@ from django.conf import settings
settings.THUMBNAIL_ALIASES = { settings.THUMBNAIL_ALIASES = {
'': { '': {
'thumbnail': {'size': (300, 200), 'sharpen': True, 'crop': True}, 'thumbnail': {'size': (300, 200), 'sharpen': True, 'crop': True, 'upscale': True},
'hero': {'size': (700, 466), 'sharpen': True, 'crop': True}, 'hero': {'size': (700, 466), 'sharpen': True, 'crop': True},
'large': {'size': (1920, 1920), 'sharpen': True, 'crop': False}, 'large': {'size': (1920, 1920), 'sharpen': True, 'crop': False},
}, },