imagemag temp

This commit is contained in:
2023-11-14 21:18:50 +02:00
parent 5bd61b08da
commit cfde3bf501
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -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",
+1
View File
@@ -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());