add more default resolutions

This commit is contained in:
David Christofas
2020-05-19 11:02:14 +02:00
parent 2196b101e4
commit 89abe9cca9
2 changed files with 7 additions and 1 deletions

View 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

View File

@@ -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"},
},