High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): fix resolution in thumbnail generation (#1737)
Michael Kreuzer72c947cbafb7
diff --git a/server/apps/microservices/src/processors/thumbnail.processor.ts b/server/apps/microservices/src/processors/thumbnail.processor.tsindex b6656d86e5..b1b1928197 100644--- a/server/apps/microservices/src/processors/thumbnail.processor.ts+++ b/server/apps/microservices/src/processors/thumbnail.processor.ts@@ -50,7 +50,7 @@ export class ThumbnailGeneratorProcessor {if (asset.type == AssetType.IMAGE) {try {await sharp(asset.originalPath, { failOnError: false })- .resize(1440, 2560, { fit: 'inside' })+ .resize(1440, 1440, { fit: 'outside', withoutEnlargement: true }).jpeg().rotate().toFile(jpegThumbnailPath);