Level 122
Check that it passes into the image processing part.
I say this because you misuse $project and I'm surprised it does not throw an error
//up to here $project represents your Projects model (should be singular btw)
//Save image
if($request->hasFile('upload')) {
$project = $request->file('upload'); // but now $project is an instance of uploaded file
$filename = time() . '.' . $project->getClientOriginalExtension();
$location = public_path('images/' . $filename);
Image::make($project)->resize(800, 400)->save($location); // you pass the whole uploaded file into Image
$project->image = $filename; //Now you try and set the filename ON the uploaded image
}
$project->save(); // now you try and save the uploaded image instead of the Projects model
Try
//Save image
if($request->hasFile('upload')) {
$upload = $request->file('upload');
$filename = time() . '.' . $upload->getClientOriginalExtension();
$location = public_path('images/' . $filename);
Image::make($upload)->resize(800, 400)->save($location);
$project->image = $filename;
}
$project->save();
Also, check that your application can write to the public folder (check permissions)