From 60789ecc382834d727d64517432c4a48411f964f Mon Sep 17 00:00:00 2001 From: "luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f" Date: Sun, 28 Mar 2010 18:41:48 +0000 Subject: new thumbnail sizes --- apps/photos/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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) -- cgit v1.2.3-70-g09d2