]> BookStack Code Mirror - bookstack/blobdiff - app/Uploads/ImageRepo.php
Updated existing image tests to reflect changes
[bookstack] / app / Uploads / ImageRepo.php
index dbf652ddf2f9595a3fe82444d77109e34a04a65f..16d1bb3d1ff5c4d3cdbf14ffe24f9577f446b0ea 100644 (file)
@@ -232,8 +232,8 @@ class ImageRepo
     protected function loadThumbs(Image $image)
     {
         $image->thumbs = [
-            'gallery' => $this->getThumbnail($image, 150, 150),
-            'display' => $this->getThumbnail($image, 840, 0, true)
+            'gallery' => $this->getThumbnail($image, 150, 150, false),
+            'display' => $this->getThumbnail($image, 840, null, true)
         ];
     }