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.
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
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 :)
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......
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
Cheers Jeroen, will take a look and get back if I can get anything working.
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
Perfect, I'll have a look and implement. U5 keeps giving, this rocks!
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
Hi Jan,
Will endeavour to complete by end of this weekend.. brain willing
is working on a reply...