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