summaryrefslogtreecommitdiffstats
path: root/core/imagekit_specs.py
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2020-02-24 15:04:07 +0000
committerSam Wenham <sam@wenhams.co.uk>2020-02-24 15:04:07 +0000
commit43dfe946b6385037141b94b775112037fe5f032f (patch)
tree72c352e67166f0702ab93d7063c902ff1bd2c621 /core/imagekit_specs.py
parent656ddcfe93061f2f82160ff8cc45b98d27e28bd3 (diff)
downloadtroggle-django-1.10.tar.gz
troggle-django-1.10.tar.bz2
troggle-django-1.10.zip
Just removing dud whitespacedjango-1.10
Diffstat (limited to 'core/imagekit_specs.py')
-rw-r--r--core/imagekit_specs.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/core/imagekit_specs.py b/core/imagekit_specs.py
index fd2e0a1..0cec6e5 100644
--- a/core/imagekit_specs.py
+++ b/core/imagekit_specs.py
@@ -1,21 +1,21 @@
from imagekit.specs import ImageSpec
from imagekit import processors
-class ResizeThumb(processors.Resize):
- width = 100
+class ResizeThumb(processors.Resize):
+ width = 100
crop = False
class ResizeDisplay(processors.Resize):
- width = 600
-
-#class EnhanceThumb(processors.Adjustment):
+ width = 600
+
+#class EnhanceThumb(processors.Adjustment):
#contrast = 1.2
#sharpness = 2
-class Thumbnail(ImageSpec):
- access_as = 'thumbnail_image'
- pre_cache = True
- processors = [ResizeThumb]
+class Thumbnail(ImageSpec):
+ access_as = 'thumbnail_image'
+ pre_cache = True
+ processors = [ResizeThumb]
class Display(ImageSpec):
increment_count = True