mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-09-12 21:58:58 -04:00
feat(thumbnails): extend list of default resolutions
Extend the list by these resolutions: "500x280", "280x500", "1000x560", "560x1000", "512x2048" This allows for a more granular thumbnail generation for requested previews between 128 and 1080 px.
This commit is contained in:
1 parent
3b47c6550d
commit
1e5de6e01b
1 file changed
+1
-1
@@ -47,7 +47,7 @@ func DefaultConfig() *config.Config {
|
||||
Name: "thumbnails",
|
||||
},
|
||||
Thumbnail: config.Thumbnail{
|
||||
Resolutions: []string{"16x16", "32x32", "64x64", "128x128", "1080x1920", "1920x1080", "2160x3840", "3840x2160", "4320x7680", "7680x4320"},
|
||||
Resolutions: []string{"16x16", "32x32", "64x64", "128x128", "500x280", "280x500", "1000x560", "560x1000", "512x2048", "1080x1920", "1920x1080", "2160x3840", "3840x2160", "4320x7680", "7680x4320"},
|
||||
FileSystemStorage: config.FileSystemStorage{
|
||||
RootDirectory: path.Join(defaults.BaseDataPath(), "thumbnails"),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user