diff --git a/changelog/unreleased/add-resolutions.md b/changelog/unreleased/add-resolutions.md new file mode 100644 index 000000000..b2449e9f3 --- /dev/null +++ b/changelog/unreleased/add-resolutions.md @@ -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 diff --git a/pkg/flagset/flagset.go b/pkg/flagset/flagset.go index 79a83e329..d5566b45c 100644 --- a/pkg/flagset/flagset.go +++ b/pkg/flagset/flagset.go @@ -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"}, },