Copied to clipboard

Flag this post as spam?

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


  • Sören Deger 733 posts 2844 karma points c-trib
    Feb 26, 2015 @ 14:24
    Sören Deger
    0

    Custom url for media file/image

    Hi,

    In my current project (umbraco v. 7.2.2) the umbraco users want to be able to put a custom URL for each media node. In media type "image" and "file" I have added a new property "customUrl" of type textstring. The media file or image will only be available by this custom url.

    Have anyone an idea how I can solve this?

    Best,

    Sören

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Mar 12, 2015 @ 08:52
    Dave Woestenborghs
    0

    I know you can use umbraco Url alias for content nodes. Maybe this can be used for media too. I haven't tried that

    https://our.umbraco.org/wiki/reference/umbraco-best-practices/umbracourlalias

  • blackhawk 313 posts 1368 karma points
    Oct 04, 2017 @ 16:11
    blackhawk
    0

    Hl Dave, I am new to this area and was curious if you know of any online resources that are simple enough to understand in creating a custom HTTP handler for Umbraco?

    Thanks in advance!

  • Sören Deger 733 posts 2844 karma points c-trib
    Mar 12, 2015 @ 09:14
    Sören Deger
    0

    Hi Dave,

    umbracoUrlAlias works only for content nodes. I have tried this yet.

     

    Best,

    Sören

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Mar 12, 2015 @ 09:36
    Dave Woestenborghs
    1

    You can alwasy create your own http handler and link to that in your templates. The handler will need to get the correct file.

    Dave

  • Sören Deger 733 posts 2844 karma points c-trib
    Mar 12, 2015 @ 09:50
    Sören Deger
    0

    Hi Dave,

    thanks :-) I will give it a try next week. I'll get back when we tested it.

     

    Best, 

    Sören

  • Nathan Skidmore 63 posts 251 karma points c-trib
    Aug 13, 2015 @ 14:38
    Nathan Skidmore
    0

    Hi Soren,

    Did you manage to solve this in the end? If so what was your approach?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 12, 2015 @ 09:56
    Dennis Aaen
    1

    Hi Sören,

    Don´t know if this blogpost written by Jeroen Breuer can be at any help.

    http://24days.in/umbraco/2014/urlprovider-and-contentfinder/

    /Dennis

  • Sören Deger 733 posts 2844 karma points c-trib
    Aug 25, 2015 @ 13:18
    Sören Deger
    0

    Hi Dennis,

    thanks, that's very interesting :-) Once I have more time again, I will deal with it once and make a few tests. Maybe this can help me, we will see...

    Cheers, Sören

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Oct 04, 2017 @ 16:12
    Nicholas Westby
    2

    AFAIK, content finders and URL providers don't work with media. They only work with content. At least, I've never heard of them being used with media (as awesome as that would be).

Please Sign in or register to post replies

Write your reply to:

Draft