Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • mcskelle 2 posts 32 karma points
    Jan 25, 2014 @ 17:37
    mcskelle
    0

    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

  • Per Ploug 865 posts 3471 karma points MVP admin
    Jan 27, 2014 @ 14:38
    Per Ploug
    100

    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)

Please Sign in or register to post replies

Write your reply to:

Draft