I followed the API and function guide for uploading from here:
https://www.grocerycrud.com/enterprise/api-and-function-list/setFieldUpload
$crud->setFieldUpload('u_Image','assets/images/uploads','assets/images/uploads'); $crud->setFieldUpload('u_Sig','assets/images/uploads','assets/images/uploads');
I used an old table with actual correct file path and images to test.
The image appears as a preview. But uploading a new photo
fails and an error is displayed on the console as shown
in the image below: