]> BookStack Code Mirror - bookstack/blobdiff - app/Uploads/Image.php
ZIP Imports: Added API examples, finished testing
[bookstack] / app / Uploads / Image.php
index 1e42f414bbb47c618a23916415dc8885bc855683..0a267a64465ff623ae92c001cd68caf4666f38ef 100644 (file)
@@ -52,7 +52,7 @@ class Image extends Model
      */
     public function getThumb(?int $width, ?int $height, bool $keepRatio = false): ?string
     {
-        return app()->make(ImageResizer::class)->resizeToThumbnailUrl($this, $width, $height, $keepRatio, false, true);
+        return app()->make(ImageResizer::class)->resizeToThumbnailUrl($this, $width, $height, $keepRatio, false);
     }
 
     /**