summaryrefslogtreecommitdiffstats
path: root/imagekit/defaults.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2020-05-26 02:19:46 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2020-05-26 02:19:46 +0100
commit6ae5c0d912dfa9cfbf7dea8af2440b6bc8872bdd (patch)
treef9c9de7dcb2b9a41ec1aefda1b575183f86dfcb4 /imagekit/defaults.py
parent44d190e91c32b85f717eb8f5080113ba17cea3d4 (diff)
downloadtroggle-6ae5c0d912dfa9cfbf7dea8af2440b6bc8872bdd.tar.gz
troggle-6ae5c0d912dfa9cfbf7dea8af2440b6bc8872bdd.tar.bz2
troggle-6ae5c0d912dfa9cfbf7dea8af2440b6bc8872bdd.zip
remove old imagekit files
Diffstat (limited to 'imagekit/defaults.py')
-rw-r--r--imagekit/defaults.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/imagekit/defaults.py b/imagekit/defaults.py
deleted file mode 100644
index e1a05f6..0000000
--- a/imagekit/defaults.py
+++ /dev/null
@@ -1,21 +0,0 @@
-""" Default ImageKit configuration """
-
-from imagekit.specs import ImageSpec
-from imagekit import processors
-
-class ResizeThumbnail(processors.Resize):
- width = 100
- height = 50
- crop = True
-
-class EnhanceSmall(processors.Adjustment):
- contrast = 1.2
- sharpness = 1.1
-
-class SampleReflection(processors.Reflection):
- size = 0.5
- background_color = "#000000"
-
-class DjangoAdminThumbnail(ImageSpec):
- access_as = 'admin_thumbnail'
- processors = [ResizeThumbnail, EnhanceSmall, SampleReflection]