Setting Media Folder

Setting Media Folder

Media Library Upload Folder

  • You can create media library items by copying or moving files into a Sitecore physical folder, typically the /upload directory
  • If you create directories and files in this directory, Sitecore will create the corresponding media folders and items at /Sitecore/Media Library in the Master database
  • Sitecore only creates media items if ASP.NET raises a file system event
  • Before adding files to the Sitecore physical upload folder, ensure that ASP.NET is active by displaying a resource from the site, such as the home page


Configuration Settings

<configuration>

    <sitecore database="SqlServer"> 

        <sc.variable name="mediaFolder" value="/upload"/>

    </sitecore>

</configuration>