Putting Thumbnail config into the apps scope
This commit is contained in:
parent
89bc00e5da
commit
9c70da0b77
@ -1,2 +1,11 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
from django.conf import settings
|
||||||
|
|
||||||
|
settings.THUMBNAIL_ALIASES = {
|
||||||
|
'': {
|
||||||
|
'thumbnail': {'size': (300, 200), 'crop': True},
|
||||||
|
'hero': {'size': (700, 466), 'crop': True},
|
||||||
|
'large': {'size': (1920, 1920), 'crop': False},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user