diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-15 03:29:19 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-15 03:29:19 +0100 |
commit | 5f9330149395ed88f320759aeee294bbde190e31 (patch) | |
tree | 96ca7875874f23e8afce6c2689add7440b2bcc40 /expo/imagekit_specs.py | |
parent | 8538ef27a16de8c5f78a7fe352c51fe507729354 (diff) | |
download | troggle-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.py | 11 |
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 |