From df2d1c23122b9340507c06347bd0d37347faf91e Mon Sep 17 00:00:00 2001 From: Frank Rousseau Date: Tue, 3 Sep 2024 12:28:17 +0200 Subject: [PATCH] [projects] Fix thumbnail resizing --- zou/app/blueprints/previews/resources.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zou/app/blueprints/previews/resources.py b/zou/app/blueprints/previews/resources.py index d8a525f3dd..101a91fa76 100644 --- a/zou/app/blueprints/previews/resources.py +++ b/zou/app/blueprints/previews/resources.py @@ -981,6 +981,7 @@ def get(self, instance_id): class PersonThumbnailResource(BaseThumbnailResource): + def __init__(self): BaseThumbnailResource.__init__( self, @@ -1028,6 +1029,7 @@ def __init__(self): "projects", projects_service.get_project, projects_service.update_project, + thumbnail_utils.BIG_SQUARE_SIZE, ) def check_allowed_to_get(self, instance_id):