Copied to clipboard

Flag this post as spam?

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


  • Alan Every 13 posts 35 karma points
    Jan 31, 2012 @ 21:39
    Alan Every
    0

    Can I in U5 Create media (images) in different website

    I would love to host images via an image server, i.e. another url from the main site, but still hold all the functionality of image upload etc.

    Has anyone attempted this? If so any pointers, if not any ideas, or info on failed attempts.

    Cheers......

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Feb 01, 2012 @ 09:12
    Jeroen Breuer
    0

    This can probably be done by writing a custom hive provider, but I haven't done this yet. Also if you write a custom hive provider for media it might still not work in the TinyMCE editor. Did some tests (was still on the Alpha version) and the media in the TinyMCE editor was created without looking at a hive provider. See this issue for some more comments about how media in v5 works: http://issues.umbraco.org/issue/U5-117.

    Jeroen

  • Alan Every 13 posts 35 karma points
    Feb 01, 2012 @ 09:22
    Alan Every
    0

    Cheers Jeroen, will take a look and get back if I can get anything working.

  • Alex Norcliffe 222 posts 287 karma points
    Feb 01, 2012 @ 12:28
    Alex Norcliffe
    2

    Hi Alan, you can set a property on the default IO Hive provider so that when Media URLs get rendered, they have a different domain prefixed so that you can put your CDN or image-server domain in there

    The config attribute is called rootPublicDomain and you can place it on the file-uploader element in your web.config

  • Alan Every 13 posts 35 karma points
    Feb 01, 2012 @ 13:14
    Alan Every
    0

    Perfect, I'll have a look and implement.  U5 keeps giving, this rocks!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 02, 2012 @ 19:41
    Jan Skovgaard
    0

    Hi Alan

    When you have had succes with this I urge you to blog about it or write about it in the wiki, and of course post more about the steps in here - would love to see how it works out :)

    Happy umbracoing!

    /Jan

  • Alan Every 13 posts 35 karma points
    Feb 02, 2012 @ 20:41
    Alan Every
    0

    Hi Jan,

    Will endeavour to complete by end of this weekend.. brain willing

Please Sign in or register to post replies

Write your reply to:

Draft