Overview

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

The Media libraries module enables storing of various files, such as photos, sound, videos, package files, presentation files, etc. This means that not only media files, but also other types of files can be stored in media libraries. Media libraries can either be global or related to a particular group.

 

Main features of the Media libraries module:

 

Support for storage of large amount of files (photo galleries)
Support for storage of large files (video files)
Each group of users can have any number of libraries
Files can be uploaded to the libraries externally, e.g. using FTP

 

However, the Media libraries module is not the only way to store files of various kinds within the system. Kentico CMS allows you to upload files (such as GIF, JPG, SWF, PDF, XLS, DOC, etc.) to the Kentico CMS database or file system and manage them as any other content (see Developer's Guide -> Content management -> File management). Another way to achieve similar functionality is to make use of the Image gallery module (see Modules -> Image gallery in the Developer's Guide). Finally, you can attach files directly to documents and thus bind them to a document's life cycle (see Document attachments in the same section of the Developer' Guide). Please note that both image galleries and document attachments can only be used with image file types.

 

To learn how to create media libraries, please refer to the Creating media libraries topic in the Media libraries chapter of the Developer's Guide.
To learn how to upload files into them, please refer to the Uploading files into media libraries topic in the same chapter of the Developer's Guide.
To learn how to manage files stored in a media library, please follow the File management topic.
To learn how to  display media gallery content on your site, please follow the Displaying Media gallery content on your site topic.
To learn about integration of media library files into text using the built-in WYSIWYG editor, please refer to the Support in WYSIWYG editor topic.
If you would like to learn which web parts come with the Media libraries module and if you would like to read a brief description of each of them please refer to the Available web parts topic.
If you would like to read a brief overview of supported file types that can be played or displayed on your site by default, please refer to the Supported file types topic.
If you would like to read a more detailed explanation of how to enable any media types to be recognized by the system, please refer to the Defining custom media types topic.
To learn how to configure maximal uploaded file size, please refer to the Configuring maximal uploaded file size topic.
To learn how to deal with secured and non-secured libraries on your site, please refer to the Secured vs. Non-secured libraries topic.
To learn how to customize the location of all libraries of a particular site, please refer to the Defining custom media libraries folder topic.
If you would like to learn about names of files uploaded to a media gallery and their thumbnails, please refer to the Names of files and thumbnails topic.
If you would like to learn about site restarts, please refer to the Site restarts topic.
If you would like to adjust the settings and security of the Media libraries module, please refer to the Settings and Security topics respectively.

 

Please note that media library files are stored directly in the file system, organized in folders. The default location of all libraries of a particular site is ~/<sitename>/media. Each media library is either global in the context of a particular site or belongs to a group.

 

More examples of the use of the Media libraries module are available in Kentico CMS Community Site Guide; please note that these practical examples do not concern the whole functionality of the module but focus on its use in a broader context of the Community Site sample website:

 

See Part 1 -> Media libraries -> Current functionality in Kentico CMS Community Site Guide: A brief description of the functionality of the Media libraries module.
See Creating custom media libraries in the same section of the Community Site Guide: An example of creating a new global media library and publishing it on the site.
See Publishing more than one global media library in the same section of the Community Site Guide: An example of how to publish more than one global media library on the site.
See Community Site Guide -> Part 2 -> Pre-development tasks -> Creating a sample Media library in Kentico CMS Community Site Guide: An example of creating a sample media library.
See Creating the Blogs section -> Creating the Media page in the same section of the Community Site Guide: An example of creating the Media page using the Media gallery web part under the Blogs section.
See Creating the Groups section -> Creating the Media page in the same section of the Community Site Guide: An example of creating the Media page using the Media gallery web part under the Groups section.

 

Page url: http://devnet.kentico.com/docs/5_5r2/contexthelp/index.html?media_libraries_overview.htm