diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-05-17 11:19:54 +0300 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-07-06 15:33:04 +0300 |
commit | c3621f2a1148d7cb8233549f5b9de69afc66445f (patch) | |
tree | f69e263738411799a2d18727080b8fd7a337668c | |
parent | 2f2de6276b307ef60a09bcc4d2472af9e7c5a227 (diff) |
Fix cropped image generated when not asked
The $crop parameter was not propagated to the imaginary pipeline and
instead it used the smartcrop algorithm always
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
-rw-r--r-- | lib/private/Preview/Generator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/Generator.php b/lib/private/Preview/Generator.php index f9985bc299d..2edea868ed0 100644 --- a/lib/private/Preview/Generator.php +++ b/lib/private/Preview/Generator.php @@ -263,7 +263,7 @@ class Generator { continue; } - $preview = $this->helper->getThumbnail($provider, $file, 256, 256, true); + $preview = $this->helper->getThumbnail($provider, $file, 256, 256, $crop); if (!($preview instanceof IImage)) { continue; |