From 5f0c52aeae392eae64ea0f51db0611b0464cda90 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 24 May 2019 10:29:06 +0000 Subject: [PATCH] smaller images --- content/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/models.py b/content/models.py index 6e792c0..91f0f09 100644 --- a/content/models.py +++ b/content/models.py @@ -146,7 +146,7 @@ class Content(models.Model): @property def image_url(self): if self.photo: - return self.photo.image.url + return self.photo.get_display_url() if self.image: if self.image.startswith('http') or self.image.startswith('/'): return self.image