if(!is_writable(dirname(public_path($fullPath))))thrownewImageUploadException('Image Directory '.public_path($fullPath).' is not writable by the server.');
$storage->put($fullPath,$imageData);
try{
$storage->put($fullPath,$imageData);
}catch(Exception$e){
thrownewImageUploadException('Image Path '.$fullPath.' is not writable by the server.');