imagemag temp
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
"description": "Lucent cms",
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"ext-xml": "*",
|
||||
"ext-zip": "*",
|
||||
"ext-sqlite3": "*",
|
||||
"ext-imagick": "*",
|
||||
"php": "^8.2",
|
||||
"guzzlehttp/guzzle": "^7.2",
|
||||
"intervention/image": "^2.7",
|
||||
|
||||
@@ -120,6 +120,7 @@ function createThumbnail(Filesystem $disk, string $schemaPath, string $filename,
|
||||
}
|
||||
|
||||
try {
|
||||
ImageManagerStatic::configure(['driver' => 'imagick']);
|
||||
$image = ImageManagerStatic::make($file);
|
||||
} catch (Exception $e) {
|
||||
logger($e->getMessage());
|
||||
|
||||
Reference in New Issue
Block a user