Changed Imagemagik parameters to stop cropping.

This commit is contained in:
Isaac 2017-11-23 13:13:19 -08:00
parent 61ee103299
commit 2733071468

View file

@ -137,7 +137,7 @@ class Image extends Model
} }
if (isset($coverType['width']) && isset($coverType['height'])) { 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']).'"'; $command .= ' "'.$image->getFile($coverType['id']).'"';