i have installed ImageMagick in my mac book by using home brew, when i search that imageMagick is available in my mac book, the below are search results screenshot.
i am using image intervention package when i store my picture in my server, getting error code explain below
// Store a copy
if($request->hasFile('profilepicture'))
{
$image_org = Image::make($request->file('profilepicture'))->encode('png');
dd($image_org); // getting error
try {
// $image_org = Image::make($request->file('profilepicture'))->encode('png');
// Storage::disk('ppics')->put($viewPortOrg, $image_org);
Storage::disk('ppics')->put($viewPortOrg, $request->file('profilepicture'));
} catch (\Exception $e) {
\Log::error($e);
return redirect()->back()->with('error','Invalid image uploaded, please try a different image');
}
}
the Error screen shot is below
how i could resolve this error? Any help?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire