Skip to content

feat(local): make thumbnail size configurable via system settings#9433

Open
skysliences wants to merge 1 commit intomainfrom
codex/thumbnail-size-system-setting
Open

feat(local): make thumbnail size configurable via system settings#9433
skysliences wants to merge 1 commit intomainfrom
codex/thumbnail-size-system-setting

Conversation

@skysliences
Copy link
Contributor

@skysliences skysliences commented Feb 28, 2026

Summary

  • add thumbnail_size as a system setting in PREVIEW group (default: 144)
  • make Local driver read thumbnail_size from system settings at init
  • validate setting value must be a positive integer
  • use configured size when generating thumbnails
  • include thumbnail size in cache key to avoid stale cache reuse after size changes

Why

Thumbnail generation width is currently hardcoded to 144, which cannot be tuned for different usage scenarios. This PR makes it configurable from system settings while preserving the default behavior.

Notes

  • default remains 144 for backward compatibility
  • only Local driver thumbnail generation is affected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant