mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-21 20:10:30 -06:00
Merge pull request #24 from owncloud/add-resolutions
add more default resolutions
This commit is contained in:
6
changelog/unreleased/add-resolutions.md
Normal file
6
changelog/unreleased/add-resolutions.md
Normal file
@@ -0,0 +1,6 @@
|
||||
Change: add more default resolutions
|
||||
|
||||
The `ocis-thumbnails` service was also used by the mediaviewer but the returned
|
||||
images were too small since the highest resolution was 128x128 pixels.
|
||||
|
||||
https://github.com/owncloud/ocis-thumbnails/issues/23
|
||||
@@ -155,7 +155,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
|
||||
},
|
||||
&cli.StringSliceFlag{
|
||||
Name: "thumbnail-resolution",
|
||||
Value: cli.NewStringSlice("16x16", "32x32", "64x64", "128x128"),
|
||||
Value: cli.NewStringSlice("16x16", "32x32", "64x64", "128x128", "1920x1080", "3840x2160", "7680x4320"),
|
||||
Usage: "--thumbnail-resolution 16x16 [--thumbnail-resolution 32x32]",
|
||||
EnvVars: []string{"THUMBNAILS_RESOLUTIONS"},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user