From f14014b091b580504cff255fb3d3ac13f6d9f0c7 Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 30 Jun 2011 00:43:01 +0530 Subject: [PATCH] um. try thumbnails again --- edgware/files/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edgware/files/models.py b/edgware/files/models.py index 85c44b7..882217d 100755 --- a/edgware/files/models.py +++ b/edgware/files/models.py @@ -126,7 +126,7 @@ class File(models.Model): try: url = self.file.url if self.type.lower() == 'image': - thumbnail = get_thumbnail(open(self.file.path), "300x", quality=60).url + thumbnail = get_thumbnail(open(self.file.path), "400x300", crop='center', quality=60).url else: thumbnail = '' except: