Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

[WIP] improve cover image thumbnails #94

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions server/services/organizations/organizations.hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
}
};

Expand Down
4 changes: 2 additions & 2 deletions server/services/users/users.hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
}
};

Expand Down