summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-03-28 18:41:48 +0000
committerluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-03-28 18:41:48 +0000
commit60789ecc382834d727d64517432c4a48411f964f (patch)
tree9114e7400ee72eae33c82ed03de8ec8be36f9fa1 /apps
parent0282141a50433312df9f9be2188ccf8ae198b666 (diff)
new thumbnail sizes
Diffstat (limited to 'apps')
-rw-r--r--apps/photos/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/photos/utils.py b/apps/photos/utils.py
index 9fe69ba..0e69c4e 100644
--- a/apps/photos/utils.py
+++ b/apps/photos/utils.py
@@ -212,7 +212,7 @@ def make_gallery_thumb(photo,set):
#calculate crop:
cur_width, cur_height = img.size
- new_width, new_height = 210, 210
+ new_width, new_height = 291, 350
ratio = max(float(new_width)/cur_width,float(new_height)/cur_height)
x = (cur_width * ratio)
y = (cur_height * ratio)