I have a mobile phonegap application that has access to the devices camera. I am trying to take a photo and use the addAttachments method to upload the selected captured image. My problem is this method only allows for a input type file as the source. Unfortunately phonegap does not support input file types and I have to upload the captured image directly. Is there a way to add attachments without using the form type input. Any help would be greatly appreciated.