mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-04 03:09:33 -06:00
thumbnails: Add portrait resolutions to default config
This commit is contained in:
5
changelog/unreleased/portrait-thumbnails.md
Normal file
5
changelog/unreleased/portrait-thumbnails.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Bugfix: Add portrait thumbnail resolutions
|
||||
|
||||
Add portrait-orientation resolutions to the thumbnail service's default configuration. This prevents portrait photos from being heavily cropped into landscape resolutions in the web viewer.
|
||||
|
||||
#5656
|
||||
@@ -37,7 +37,7 @@ func DefaultConfig() *config.Config {
|
||||
Name: "thumbnails",
|
||||
},
|
||||
Thumbnail: config.Thumbnail{
|
||||
Resolutions: []string{"16x16", "32x32", "64x64", "128x128", "1920x1080", "3840x2160", "7680x4320"},
|
||||
Resolutions: []string{"16x16", "32x32", "64x64", "128x128", "1080x1920", "1920x1080", "2160x3840", "3840x2160", "4320x7680", "7680x4320"},
|
||||
FileSystemStorage: config.FileSystemStorage{
|
||||
RootDirectory: path.Join(defaults.BaseDataPath(), "thumbnails"),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user