fix: thumbnail max input height
Thumbnail max input width and height need to be the same, because images can be portrait or landscape. See https://github.com/owncloud/ocis/issues/9234
This commit is contained in:
@@ -2,5 +2,6 @@ Change: Define maximum input image dimensions and size when generating previews
|
||||
|
||||
This is a general hardening change to limit processing time and resources of the thumbnailer.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9360
|
||||
https://github.com/owncloud/ocis/pull/9035
|
||||
https://github.com/owncloud/ocis/pull/9069
|
||||
|
||||
@@ -50,7 +50,7 @@ func DefaultConfig() *config.Config {
|
||||
CS3AllowInsecure: false,
|
||||
DataEndpoint: "http://127.0.0.1:9186/thumbnails/data",
|
||||
MaxInputWidth: 7680,
|
||||
MaxInputHeight: 4320,
|
||||
MaxInputHeight: 7680,
|
||||
MaxInputImageFileSize: "50MB",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user