if there is no camera connection and i try to upload an image , and the "onPictureAsBase64" function does not working .