diff options
-rw-r--r-- | app/media/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/media/models.py b/app/media/models.py index f2a74bc..89e710a 100644 --- a/app/media/models.py +++ b/app/media/models.py @@ -159,7 +159,7 @@ class LuxImage(models.Model): return self.image.path else: luximagesize = LuxImageSize.objects.get(slug=size) - return "%s%s/%s_%s.%s" % (settings.IMAGES_ROOT, self.pub_date.strftime("%Y"), self.image_name, luximagesize.slug, self.image_ext) + return "%s/%s/%s_%s.%s" % (settings.IMAGES_ROOT, self.pub_date.strftime("%Y"), self.image_name, luximagesize.slug, self.image_ext) @cached_property def get_thumbnail_url(self): |