summaryrefslogtreecommitdiff
path: root/app/posts/models.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-12-04 12:04:56 -0500
committerluxagraf <sng@luxagraf.net>2020-12-04 12:04:56 -0500
commitb15ed72cac94a1b7feffd895f57223f296ebdbb2 (patch)
treee21f7b16141d63401181935ac81304b93bfddc8e /app/posts/models.py
parent67cad3ae8e7d502925e720e562d94c67df7bd7c5 (diff)
made featured image secondary size smaller
Diffstat (limited to 'app/posts/models.py')
-rw-r--r--app/posts/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/posts/models.py b/app/posts/models.py
index b64dc53..159060e 100644
--- a/app/posts/models.py
+++ b/app/posts/models.py
@@ -200,7 +200,7 @@ class Post(models.Model):
if old and old.featured_image != self.featured_image: # Field has changed
if self.featured_image:
s = LuxImageSize.objects.get(name="featured_jrnl")
- ss = LuxImageSize.objects.get(name="picwide-med")
+ ss = LuxImageSize.objects.get(name="picwide-sm")
self.featured_image.sizes.add(s)
self.featured_image.sizes.add(ss)
self.featured_image.save()