[PR #3598] [MERGED] feat(web/server): webp thumbnail size configurable #10041

Closed
opened 2026-02-05 14:15:02 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/3598
Author: @alextran1502
Created: 8/8/2023
Status: Merged
Merged: 8/8/2023
Merged by: @alextran1502

Base: mainHead: feat/webp-setting


📝 Commits (9)

📊 Changes

26 files changed (+429 additions, -18 deletions)

View changed files

📝 cli/src/api/open-api/api.ts (+25 -0)
📝 mobile/openapi/.openapi-generator/FILES (+3 -0)
📝 mobile/openapi/README.md (+1 -0)
📝 mobile/openapi/doc/SystemConfigDto.md (+1 -0)
mobile/openapi/doc/SystemConfigThumbnailDto.md (+16 -0)
📝 mobile/openapi/lib/api.dart (+1 -0)
📝 mobile/openapi/lib/api_client.dart (+2 -0)
📝 mobile/openapi/lib/model/system_config_dto.dart (+11 -3)
mobile/openapi/lib/model/system_config_thumbnail_dto.dart (+106 -0)
📝 mobile/openapi/test/system_config_dto_test.dart (+5 -0)
mobile/openapi/test/system_config_thumbnail_dto_test.dart (+32 -0)
📝 server/immich-openapi-specs.json (+20 -1)
📝 server/src/domain/media/media.constant.ts (+0 -2)
📝 server/src/domain/media/media.service.ts (+5 -4)
📝 server/src/domain/system-config/dto/index.ts (+1 -0)
server/src/domain/system-config/dto/system-config-thumbnail.dto.ts (+15 -0)
📝 server/src/domain/system-config/dto/system-config.dto.ts (+6 -0)
📝 server/src/domain/system-config/system-config.core.ts (+5 -0)
📝 server/src/domain/system-config/system-config.service.spec.ts (+4 -0)
📝 server/src/infra/entities/system-config.entity.ts (+7 -0)

...and 6 more files

📄 Description

This PR adds a setting for WebP, Jpeg thumbnail size

image

The available sizes for WebP are

  • 1080p
  • 720p
  • 480p
  • 250p (default)

The available sizes for Jpeg are

  • 2160p
  • 1440p (default)

Test

  • Change the setting to a different size and verify the thumbnail size and resolution change accordingly

Close #3599


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/3598 **Author:** [@alextran1502](https://github.com/alextran1502) **Created:** 8/8/2023 **Status:** ✅ Merged **Merged:** 8/8/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `feat/webp-setting` --- ### 📝 Commits (9) - [`0646e03`](https://github.com/immich-app/immich/commit/0646e03dd873bb9104bfacd1fef5032cfea44eaf) feat(server/web): webp thumbnail size configurable - [`4c03c2f`](https://github.com/immich-app/immich/commit/4c03c2f91e1c3afcec03beadd72e5c2e7aa1379f) update api - [`f43e132`](https://github.com/immich-app/immich/commit/f43e132a50c257124c27e0b7e4424a89420756d5) add ui and fix test - [`7c66a02`](https://github.com/immich-app/immich/commit/7c66a020655b265f914fcfa1e9b79572de657afe) lint - [`19f2d64`](https://github.com/immich-app/immich/commit/19f2d64e8d8177df79208944aef56058d9d4f49d) setting for jpeg size - [`589e138`](https://github.com/immich-app/immich/commit/589e138d334989d34271ae25798fe6544a2e3bec) feat: coerce to number - [`ece5bcd`](https://github.com/immich-app/immich/commit/ece5bcda80a9fda22f12734011ff7e3907802651) api - [`4d9abe6`](https://github.com/immich-app/immich/commit/4d9abe6ba7682d8b920f480b93a364c2018a7eb7) Merge branch 'feat/webp-setting' of github.com:immich-app/immich into feat/webp-setting - [`6ab77ff`](https://github.com/immich-app/immich/commit/6ab77ff4eec221ed6858f86d9719adaff7d82a0f) jpeg resolution ### 📊 Changes **26 files changed** (+429 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `cli/src/api/open-api/api.ts` (+25 -0) 📝 `mobile/openapi/.openapi-generator/FILES` (+3 -0) 📝 `mobile/openapi/README.md` (+1 -0) 📝 `mobile/openapi/doc/SystemConfigDto.md` (+1 -0) ➕ `mobile/openapi/doc/SystemConfigThumbnailDto.md` (+16 -0) 📝 `mobile/openapi/lib/api.dart` (+1 -0) 📝 `mobile/openapi/lib/api_client.dart` (+2 -0) 📝 `mobile/openapi/lib/model/system_config_dto.dart` (+11 -3) ➕ `mobile/openapi/lib/model/system_config_thumbnail_dto.dart` (+106 -0) 📝 `mobile/openapi/test/system_config_dto_test.dart` (+5 -0) ➕ `mobile/openapi/test/system_config_thumbnail_dto_test.dart` (+32 -0) 📝 `server/immich-openapi-specs.json` (+20 -1) 📝 `server/src/domain/media/media.constant.ts` (+0 -2) 📝 `server/src/domain/media/media.service.ts` (+5 -4) 📝 `server/src/domain/system-config/dto/index.ts` (+1 -0) ➕ `server/src/domain/system-config/dto/system-config-thumbnail.dto.ts` (+15 -0) 📝 `server/src/domain/system-config/dto/system-config.dto.ts` (+6 -0) 📝 `server/src/domain/system-config/system-config.core.ts` (+5 -0) 📝 `server/src/domain/system-config/system-config.service.spec.ts` (+4 -0) 📝 `server/src/infra/entities/system-config.entity.ts` (+7 -0) _...and 6 more files_ </details> ### 📄 Description This PR adds a setting for WebP, Jpeg thumbnail size ![image](https://github.com/immich-app/immich/assets/27055614/76c6c81d-2052-45cf-9440-bf2829d420e8) The available sizes for WebP are - 1080p - 720p - 480p - 250p (default) The available sizes for Jpeg are - 2160p - 1440p (default) ## Test - Change the setting to a different size and verify the thumbnail size and resolution change accordingly Close #3599 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 14:15:02 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#10041