mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 06:32:25 -05:00
[feature] configurable maximum thumbnail dimensions (#4258)
- adds configuration for thumbnail maximum dimensions with warning on exceeding recommendations - moves the media configuration vars into their own sub-struct - replaces the configuration flag funcs with simple string consts Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4258 Reviewed-by: tobi <kipvandenbos@noreply.codeberg.org> Co-authored-by: kim <grufwub@gmail.com> Co-committed-by: kim <grufwub@gmail.com>
This commit is contained in:
parent
1dc79c9586
commit
d7f967cbb5
17 changed files with 902 additions and 1099 deletions
|
|
@ -629,6 +629,13 @@ media-video-size-hint: 40MiB
|
|||
# Default: 40MiB (41943040 bytes)
|
||||
media-remote-max-size: 40MiB
|
||||
|
||||
# Int. Max size in pixels of any one dimension of
|
||||
# a thumbnail (as input media ratio is preserved).
|
||||
#
|
||||
# Examples: [256, 512, 1024]
|
||||
# Default: 512
|
||||
media-thumb-max-pixels: 512
|
||||
|
||||
# Int. Minimum amount of characters required as an image or video description.
|
||||
# Examples: [500, 1000, 1500]
|
||||
# Default: 0 (not required)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue