Skip to content

High performance self-hosted photo and video management solution.

fix(server): image config not being updated (#8579)

Mert4681ff88d0f8
diff --git a/server/src/entities/system-config.entity.ts b/server/src/entities/system-config.entity.ts
index e07b6d4a22..9b03eb93f3 100644
--- a/server/src/entities/system-config.entity.ts
+++ b/server/src/entities/system-config.entity.ts
@@ -99,10 +99,12 @@ export enum SystemConfigKey {
STORAGE_TEMPLATE_HASH_VERIFICATION_ENABLED = 'storageTemplate.hashVerificationEnabled',
STORAGE_TEMPLATE = 'storageTemplate.template',
- THUMBNAIL_WEBP_SIZE = 'thumbnail.webpSize',
- THUMBNAIL_JPEG_SIZE = 'thumbnail.jpegSize',
- THUMBNAIL_QUALITY = 'thumbnail.quality',
- THUMBNAIL_COLORSPACE = 'thumbnail.colorspace',
+ IMAGE_THUMBNAIL_FORMAT = 'image.thumbnailFormat',
+ IMAGE_THUMBNAIL_SIZE = 'image.thumbnailSize',
+ IMAGE_PREVIEW_FORMAT = 'image.previewFormat',
+ IMAGE_PREVIEW_SIZE = 'image.previewSize',
+ IMAGE_QUALITY = 'image.quality',
+ IMAGE_COLORSPACE = 'image.colorspace',
TRASH_ENABLED = 'trash.enabled',
TRASH_DAYS = 'trash.days',