|
@@ -103,6 +103,10 @@ class Image {
|
|
$ratio = $this->getAspectRatio($file, $thumbnail);
|
|
$ratio = $this->getAspectRatio($file, $thumbnail);
|
|
$aspect = $ratio['dimensions'];
|
|
$aspect = $ratio['dimensions'];
|
|
$orientation = $ratio['orientation'];
|
|
$orientation = $ratio['orientation'];
|
|
|
|
+ if($media->mime === 'image/gif' && !$thumbnail)
|
|
|
|
+ {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
|
|
try {
|
|
try {
|
|
$img = Intervention::make($file)->orientate();
|
|
$img = Intervention::make($file)->orientate();
|