From c690aa6150f7e46a7ee6a3f0cf9196be32131aaf Mon Sep 17 00:00:00 2001 From: Demjan Date: Tue, 15 Dec 2020 18:31:47 +0100 Subject: [PATCH] slightly larger preview thumb --- sledilnik/posts/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sledilnik/posts/api.py b/sledilnik/posts/api.py index 057461f..6b9691d 100644 --- a/sledilnik/posts/api.py +++ b/sledilnik/posts/api.py @@ -35,6 +35,6 @@ def dehydrate(self, bundle): if bundle.obj.image: bundle.data["image"] = bundle.request.build_absolute_uri(get_thumbnail(bundle.obj.image, "800x810").url) - bundle.data["image_thumb"] = bundle.request.build_absolute_uri(get_thumbnail(bundle.obj.image, "230x230").url) + bundle.data["image_thumb"] = bundle.request.build_absolute_uri(get_thumbnail(bundle.obj.image, "300x300").url) return bundle