使用 Laravel 并尝试使用 Imagine 进行图像上传。
问题是我收到错误说明:
Imagine \ Exception \ RuntimeException
Imagick not installed
Open: /Applications/MAMP/htdocs/laravelcms/vendor/imagine/imagine/lib/Imagine/Imagick/Imagine.php
{
/**
* @throws RuntimeException
*/
public function __construct()
{
if (!class_exists('Imagick')) {
throw new RuntimeException('Imagick not installed');
}
我遵循了本指南,并按照说明正确创建了所有文件夹和文件等:
http://creolab.hr/2013/07/image-manipulation-in-laravel-4-with-imagine/
我还检查了包含所有文件等的 Imagick 文件夹是否在正确的位置。
有什么帮助吗?
谢谢,克雷格。