summaryrefslogtreecommitdiffstats
path: root/expo/imagekit_specs.py
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-15 03:29:19 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-15 03:29:19 +0100
commit5f9330149395ed88f320759aeee294bbde190e31 (patch)
tree96ca7875874f23e8afce6c2689add7440b2bcc40 /expo/imagekit_specs.py
parent8538ef27a16de8c5f78a7fe352c51fe507729354 (diff)
downloadtroggle-5f9330149395ed88f320759aeee294bbde190e31.tar.gz
troggle-5f9330149395ed88f320759aeee294bbde190e31.tar.bz2
troggle-5f9330149395ed88f320759aeee294bbde190e31.zip
[svn] Add: new generic object list template object_list.html, and convenience filter named "link" for making links from objects, and make expeditions list page using those two. Also, fixed survey parsing in databaseReset.py
Diffstat (limited to 'expo/imagekit_specs.py')
-rw-r--r--expo/imagekit_specs.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/expo/imagekit_specs.py b/expo/imagekit_specs.py
index 243cb9f..fd2e0a1 100644
--- a/expo/imagekit_specs.py
+++ b/expo/imagekit_specs.py
@@ -3,20 +3,19 @@ from imagekit import processors
class ResizeThumb(processors.Resize):
width = 100
- height = 75
- crop = True
+ crop = False
class ResizeDisplay(processors.Resize):
width = 600
-class EnhanceThumb(processors.Adjustment):
- contrast = 1.2
- sharpness = 1.1
+#class EnhanceThumb(processors.Adjustment):
+ #contrast = 1.2
+ #sharpness = 2
class Thumbnail(ImageSpec):
access_as = 'thumbnail_image'
pre_cache = True
- processors = [ResizeThumb, EnhanceThumb]
+ processors = [ResizeThumb]
class Display(ImageSpec):
increment_count = True