From 1b60c71be98e42b45c726eb19ddf876a9b69cada Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 5 Oct 2011 20:58:14 +0530 Subject: [PATCH] main image code --- itf/app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itf/app/models.py b/itf/app/models.py index 819dbcc..e14d689 100644 --- a/itf/app/models.py +++ b/itf/app/models.py @@ -82,7 +82,7 @@ class ItfModel(models.Model): imgfield = None if imgfield is not None: try: - thumb = get_thumbnail(imgfield, "150x142", crop="center") + thumb = get_thumbnail(imgfield, "150x142", crop="center").url except: thumb = '' else: