In Umbraco 8 you do this using a composer to create a custom physical file system instance -
public class MediaComposer : IUserComposer
{
public void Compose(Composition composition)
{
composition.SetMediaFileSystem(() => new PhysicalFileSystem("~/CustomMedia"));
}
}
Does "umbracoMediaPath" work in v8?
Hello
Just tried to use "umbracoMediaPath" in v8, the folder I wanted to use was created in the root, but media files are not storing there.
So does "umbracoMediaPath" work in v8?
Thanks,
Alex
In Umbraco 8 you do this using a composer to create a custom physical file system instance -
https://our.umbraco.com/forum/umbraco-8/96889-filesystemproviders-section-umbraco-8-to-change-media-location#comment-306231
is working on a reply...