Copied to clipboard

Flag this post as spam?

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


  • Andrew Johns 6 posts 26 karma points
    Nov 03, 2016 @ 12:25
    Andrew Johns
    0

    Send uploaded image to third party system, return read-only cdned links

    I have a requirement to allow a user to upload an image, but rather than store it as Umbraco media, the image is sent to a third party web service which takes the image and returns a set of urls that allow you to load the image from their CDN at different dimensions.

    How might I create a datatype that would do this? The idea being a user could add content, upload the image, and then the content would only hold read-only url references (labels?) rather than the image itself.

  • Steve Morgan 1349 posts 4458 karma points c-trib
    Nov 06, 2016 @ 15:04
    Steve Morgan
    0

    Hi Andrew,

    You just need to create your own Property Editor.

    You'll need to use Angular - take a look at this tutorial and see how you get on. There are also lots of github repositories of other peoples' examples that might help.

    https://our.umbraco.org/documentation/tutorials/Creating-a-Property-Editor/

    HTH

    Steve

Please Sign in or register to post replies

Write your reply to:

Draft