diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/photos/utils.py | 2 |
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) |