---
title: Settings - Media
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

In this dialog, you can make settings related to the Media libraries module. The following settings are available:

| General                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| -------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Use permanent URLs                                             | If true, URLs of medial library files will be generated in permanent format (_\~/getmedia//.._), otherwise direct path to the file will be used (e.g.: _\~/MySite/Media/MyLibrary/MyImage.jpg_).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Max subfolders                                                 | 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. Divide the extensions by semicolons.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| Check files permissions                                        | Indicates if the "See media library content" permission is checked when retrieving media files using permanent URLs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Storage                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Media libraries folder                                         | Folder where [media library](https://docs.kentico.com/k11/managing-website-content/configuring-the-environment-for-content-editors/configuring-media-libraries.md) files are stored. You can use:<br>**physical disk path** – e.g. c:\myfiles\mysite<br>**root-relative path** –\~/UploadedFiles<br>**UNC path** - \\\server\folder<br>If no value is entered, the default location is: **\~//media**<br>**Note**: When you change the location of the media library folder, the system does NOT automatically move existing media files and sub-folders to the new location. To ensure that your media content is accessible and works correctly, you need to manually move the files from the old location to the new one in the file system. |
| 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 as the site code name under the custom files folder, i.e. _/_. It is useful for better orientation in files when multiple sites are running in the system.                                                                                                                                                                                                                                                                                                                                                                                                                              |
| Media file hidden folder                                       | 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                                    | Suffix added to thumbnail files. The thumbnail file names are in the following format:<br>_\_._                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
