From 49816d798e747d3264c6bd0aa74e71421056990c Mon Sep 17 00:00:00 2001 From: Grzegorz Leoniec Date: Tue, 3 Jul 2018 19:59:20 +0200 Subject: [PATCH] improve cover image thumbnails --- server/services/organizations/organizations.hooks.js | 4 ++-- server/services/users/users.hooks.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/services/organizations/organizations.hooks.js b/server/services/organizations/organizations.hooks.js index 46528cf..a5aed56 100644 --- a/server/services/organizations/organizations.hooks.js +++ b/server/services/organizations/organizations.hooks.js @@ -22,8 +22,8 @@ const thumbnailOptions = { placeholder: 'fit-in/36x36/filters:fill(white,true):blur(30)' }, coverImg: { - cover: '1102x312/smart', - coverPlaceholder: '243x100/smart/filters:blur(30)' + cover: '1102x/filters:fill(white,true)', + coverPlaceholder: '243x/filters:fill(white,true):blur(30)' } }; diff --git a/server/services/users/users.hooks.js b/server/services/users/users.hooks.js index 8ef050e..1ac2d1f 100644 --- a/server/services/users/users.hooks.js +++ b/server/services/users/users.hooks.js @@ -85,8 +85,8 @@ const thumbnailOptions = { placeholder: '36x36/smart/filters:blur(30)' }, coverImg: { - cover: '1102x312/smart', - coverPlaceholder: '243x100/smart/filters:blur(30)' + cover: '1102x/filters:fill(white,true):no_upscale()', + coverPlaceholder: '243x/filters:fill(white,true):no_upscale():blur(30)' } };