From 27330714687a1dc941b71ed06f5c32749987a6d1 Mon Sep 17 00:00:00 2001 From: Isaac Date: Thu, 23 Nov 2017 13:13:19 -0800 Subject: [PATCH] Changed Imagemagik parameters to stop cropping. --- app/Models/Image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Image.php b/app/Models/Image.php index 0bf18079..eda8edb4 100644 --- a/app/Models/Image.php +++ b/app/Models/Image.php @@ -137,7 +137,7 @@ class Image extends Model } if (isset($coverType['width']) && isset($coverType['height'])) { - $command .= " -thumbnail ${coverType['width']}x${coverType['height']}^ -gravity center -extent ${coverType['width']}x${coverType['height']}"; + $command .= " -thumbnail ${coverType['width']}x${coverType['height']} -gravity center -extent ${coverType['width']}x${coverType['height']}"; } $command .= ' "'.$image->getFile($coverType['id']).'"';