mirror of
https://github.com/plankanban/planka.git
synced 2025-12-24 01:11:41 +03:00
feat: Preserve original format of images, change interpolation kernel
Closes #349
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user