{"record":{"id":"c6bdabe3dfbf6cfc","repo":"z-song/laravel-admin","slug":"to-use-image-handling-and-manipulation-please-ins","errorCode":null,"errorMessage":"To use image handling and manipulation, please install [intervention/image] first.","messagePattern":"To use image handling and manipulation, please install \\[intervention/image\\] first\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/Form/Field/ImageField.php","lineNumber":77,"sourceCode":"\n    /**\n     * Call intervention methods.\n     *\n     * @param string $method\n     * @param array  $arguments\n     *\n     * @throws \\Exception\n     *\n     * @return $this\n     */\n    public function __call($method, $arguments)\n    {\n        if (static::hasMacro($method)) {\n            return $this;\n        }\n\n        if (!class_exists(ImageManagerStatic::class)) {\n            throw new \\Exception('To use image handling and manipulation, please install [intervention/image] first.');\n        }\n\n        $this->interventionCalls[] = [\n            'method'    => $method,\n            'arguments' => $arguments,\n        ];\n\n        return $this;\n    }\n\n    /**\n     * Render a image form field.\n     *\n     * @return \\Illuminate\\Contracts\\View\\Factory|\\Illuminate\\View\\View\n     */\n    public function render()\n    {\n        $this->options(['allowedFileTypes' => ['image'], 'msgPlaceholder' => trans('admin.choose_image')]);","sourceCodeStart":59,"sourceCodeEnd":95,"githubUrl":"https://github.com/z-song/laravel-admin/blob/67c441eb78ecc5437e59775d89770cd9c2cb1e05/src/Form/Field/ImageField.php#L59-L95","documentation":"Error \"To use image handling and manipulation, please install [intervention/image] first.\" thrown in z-song/laravel-admin.","triggerScenarios":"Thrown at src/Form/Field/ImageField.php:77 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"67c441eb78ecc5437e59775d89770cd9c2cb1e05","analyzedAt":"2026-08-21T02:51:03.143Z","schemaVersion":2},"datasetVersion":"2026-08-21T03:17:12.404Z"}