mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-21 20:48:00 +01:00
Changed Imagemagik parameters to stop cropping.
This commit is contained in:
parent
61ee103299
commit
2733071468
1 changed files with 1 additions and 1 deletions
|
@ -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']).'"';
|
||||||
|
|
Loading…
Reference in a new issue