Upgrade to 3.9.3

This commit is contained in:
Bastian Allgeier
2023-03-30 15:17:37 +02:00
parent 20e971adb4
commit cd495f054e
47 changed files with 3386 additions and 2384 deletions

View File

@@ -33,7 +33,7 @@ class GdLib extends Darkroom
$image = $this->blur($image, $options);
$image = $this->grayscale($image, $options);
$image->toFile($file, $mime, $options['quality']);
$image->toFile($file, $mime, $options);
return $options;
}
@@ -60,7 +60,11 @@ class GdLib extends Darkroom
return $image->resize($options['width'], $options['height']);
}
return $image->thumbnail($options['width'], $options['height'] ?? $options['width'], $options['crop']);
return $image->thumbnail(
$options['width'],
$options['height'] ?? $options['width'],
$options['crop']
);
}
/**