Kentico CMS 7.0 Developer's Guide

Media library settings

Media library settings

Previous topic Next topic Mail us feedback on this topic!  

Media library settings

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

Settings related to the Media libraries module are located in Site Manager -> Settings -> Content -> Media. The following settings are related to the module:

 

General

Use permanent URLs

If true, URLs of media library files will be generated in permanent format (~/getmedia/<file guid>/<file name>.<file extension>.<files friendly URL extension>), otherwise a direct path to the file will be used (e.g.: ~/MySite/Media/MyLibrary/MyImage.jpg).

Max subfolders

The maximum number of folders that can be displayed under an expanded folder node in the tree view.

Security

Media file allowed extensions

Extensions of files which can be uploaded to media libraries; should be divided by semicolons.

Check files permissions

Indicates if the See media library content permission is checked when retrieving media files using permanent URLs.

Storage

Custom media libraries folder

The folder where media library files are stored. If no value is entered, the default location is ~/<site code name>/media. If you would like to learn how to configure custom storage for your media library, please refer to this topic.

Use site-specific subfolders for custom media libraries folder

This setting is applied only when a Custom media libraries folder is configured. If enabled, media library files will be stored in a sub-folder named using the site code name under the custom files folder, i.e. <custom media libraries folder>/<site code name>. It is useful for better orientation in files when multiple sites are running in the system.

Media file hidden folder

The name of the folder where thumbnails of media files will be stored. This folder is hidden in the file system by default and thumbnails are generated within it.

Media file thumbnail suffix

The suffix added to thumbnail files. Thumbnail files names are in the following format:

<file name>_<file extension><thumbnail suffix>.<thumbnail extension>

 

 

 

Please note

 

If the Custom media libraries folder settings are inherited from global settings and the Use site-specific subfolders for custom media libraries folder property is set to TRUE, only the folder of the site you are about to delete will be removed from the custom folder.

 

 

devguide_clip1154