Skip to content

Commit

Permalink
fix: thumbnail max input height
Browse files Browse the repository at this point in the history
Thumbnail max input width and height need to be the same, because images
can be portrait or landscape. See #9234
  • Loading branch information
kulmann committed Jun 12, 2024
1 parent 1ef7292 commit 6117e19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/unreleased/max-input-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion services/thumbnails/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}
Expand Down

0 comments on commit 6117e19

Please sign in to comment.