diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2020-05-28 01:38:35 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2020-05-28 01:38:35 +0100 |
commit | cb4128436c213a99072683ed4c988b39dc744c36 (patch) | |
tree | 38aa7262c16d7ab18d5c3d846fbd7ba753c217c7 /core/imagekit_specs.py | |
parent | 6cc578435c4939e45f164e7481433da8a1f694f0 (diff) | |
download | troggle-cb4128436c213a99072683ed4c988b39dc744c36.tar.gz troggle-cb4128436c213a99072683ed4c988b39dc744c36.tar.bz2 troggle-cb4128436c213a99072683ed4c988b39dc744c36.zip |
expung imagekit and clean import lists
Diffstat (limited to 'core/imagekit_specs.py')
-rw-r--r-- | core/imagekit_specs.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/core/imagekit_specs.py b/core/imagekit_specs.py deleted file mode 100644 index fd2e0a1..0000000 --- a/core/imagekit_specs.py +++ /dev/null @@ -1,22 +0,0 @@ -from imagekit.specs import ImageSpec -from imagekit import processors - -class ResizeThumb(processors.Resize): - width = 100 - crop = False - -class ResizeDisplay(processors.Resize): - width = 600 - -#class EnhanceThumb(processors.Adjustment): - #contrast = 1.2 - #sharpness = 2 - -class Thumbnail(ImageSpec): - access_as = 'thumbnail_image' - pre_cache = True - processors = [ResizeThumb] - -class Display(ImageSpec): - increment_count = True - processors = [ResizeDisplay] |