Level 29
generated the wrong path?
The path has duplicated public .
Also, I think the path should targeting the storage folder, not the symlink folder.
Example
storage_path('app/public/user-data/company');
Not able to upload image showing error
Intervention\Image\Exception\NotWritableException Can't write image data to path (/home/appbharatdonorin/app2.bharatdonor.in/public/public/user-data/banner/company/1652951178.jpg)
my directory permissions are 755
$originalPath = public_path('/user-data/banner/company/');
$originalImage = $request->file('banner');
$fileImge = Image::make($originalImage);
$filenameClean = $this->clean($originalImage->getClientOriginalName());
$bannername = time().$filenameClean;
$filenameOrg = $originalPath.$bannername;
$fileImge->save($filenameOrg);
Please or to participate in this conversation.