Merge pull request #24 from owncloud/add-resolutions

add more default resolutions
This commit is contained in:
Vincent Petry
2020-05-19 11:28:23 +02:00
committed by GitHub
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"},
},