upload camera images from app to umbraco creating content pages
Im using phonegap to capture images from the users camera, and want to transfer those images to an umbraco site automatically creating content pages for each image uploaded.
Phonegap has a filetransfer function using what looks like standard javascript http post upload .
But whats the umbraco side of this? How do I recieve the images http posted and trigger the content creation?
upload camera images from app to umbraco creating content pages
Im using phonegap to capture images from the users camera, and want to transfer those images to an umbraco site automatically creating content pages for each image uploaded.
Phonegap has a filetransfer function using what looks like standard javascript http post upload .
But whats the umbraco side of this? How do I recieve the images http posted and trigger the content creation?
Any articles, good ideas, links, anthing?
/thomas
Hi Thomas
Umbraco's media dialog uses this method to receive media items when an image is uploaded, that might help you:
https://github.com/umbraco/Umbraco-CMS/blob/7.0.2/src/Umbraco.Web/Editors/MediaController.cs#L373
as far as I recall its available under the url umbraco/backoffice/media/PostAddFile (http-post only)
is working on a reply...