1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-24 15:49:46 +02:00

feat: Preserve original format of images, change interpolation kernel

Closes #349
This commit is contained in:
Maksim Eltyshev 2022-12-24 00:47:59 +01:00
parent b82a601f46
commit 0a5210dd21
17 changed files with 212 additions and 103 deletions

View file

@ -50,7 +50,7 @@ module.exports = {
sails.config.custom.attachmentsPath,
attachment.dirname,
'thumbnails',
'cover-256.jpg',
`cover-256.${attachment.image.thumbnailsExtension}`,
);
if (!fs.existsSync(filePath)) {