lundi 15 juin 2020

Image source not readable in Laravel 5.2

Hello friends I have the following error when saving an image in laravel, do you know any solution to this?

$imagePath = request('image')->store('uploads', 'public');
$image = Image::make(public_path("storage/{$imagePath}"))->fit(1200, 1600);
$image->save();

and this is the exeption i have:

throw new NotReadableException("Image source not readable");



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire