AddAttachment for images not on disk (video capture)

Discussion created by cjmusial on Apr 3, 2013
Latest reply on Jul 22, 2013 by jfinerfrock
I'd like to use a mobile device's camera to capture an image and then upload that image as a feature attachment.  No problem getting the image from the camera.  I create an <img> tag, and set the src to be a data URI, and show it on the web page in a gallery.  Once satisfied, I'd like to upload each image as an attachment to the selected feature.  They're obviously not stored on disk, so how can I upload the images when the API requires that the attachment be specified using a file upload field in a form?

Appreciate any insight!