Creating language versions when uploading media files


Description

In Sitecore XP versions starting from 8.2 Update-3, the uploading of unversionable media creates only a version for the current Content Language. This behavior allows performance improvement for uploading files to the Media Library.

If you want to change this behavior to make it the same as in Sitecore XP 8.2 Update-2 and earlier versions (when a media file is uploaded to the Media Library as unversionable media, the language versions for all languages are created for the new item under /sitecore/system/Languages), see the following solution.

Solution

In order to revert to the previous behavior, specify mediaCreator under the mediaProvider configuration node (highlighted in bold text):

<mediaProvider type="Sitecore.Resources.Media.MediaProvider, Sitecore.Kernel" />
...
  <mediaPrefixes>
    <prefix value="~/media"/>
  </mediaPrefixes>
  <mediaCreator type="Sitecore.Resources.Media.MediaCreator, Sitecore.Kernel"/>
    <requestParser type="Sitecore.Resources.Media.MediaRequest, Sitecore.Kernel"/>
  <mediaTypes>

Note

To change the default behavior related to the issue in Sitecore XP 8.2 Update-2 and earlier versions, see the following article: Slowness while uploading media files.