Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is it possible to configure, where to store media items in U8?
Im looking for somethimg simular to this configurations:
<!-- Media -->
<Provider alias="media" type="Umbraco.Core.IO.PhysicalFileSystem, Umbraco.Core">
<add key="virtualRoot" value="~/media/" />
in Umbraco 8 you will have to use Composer to achieve this:
public class MediaComposer : IUserComposer
public void Compose(Composition composition)
composition.SetMediaFileSystem(() => new PhysicalFileSystem("~/CustomMedia"));
Found this here: https://our.umbraco.com/forum/umbraco-8/96889-filesystemproviders-section-umbraco-8-to-change-media-location
You can find out more in the docs: https://our.umbraco.com/documentation/Implementation/Composing/
Thanks - spot on :)
If one where to locate the media on a shared server, is that the same implementation with different path?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted