Displaying Media gallery content on your site

  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 gallery web part can be used to display content of media libraries on the live site. In the following example, you will learn how to let site visitors view content of a media library using this web part. We will use the sample Community Starter site as the base for our example.

 

1. Go to CMS Desk. Create a new Page (menu item) document in the root of the content tree, name it Media gallery. Choose to Create a blank page and use the Simple layout.

 

devguide_clip0020

 

2. Click the Add web part (AddWebPart) icon at the top right corner of the only web part zone on the page and select Media library -> Media gallery. Click OK.

 

devguide_clip0598

 

3. In the web part properties window, you only have to choose the media library that you want to display:

 

Media library - Media

 

Click OK.

 

4. And that's it! If you switch to the live site, and select Pictures for instance, you should see the web part displaying content of the selected media library.

 

devguide_clip0599

 

Page url: http://devnet.kentico.com/docs/devguide/index.html?displaying_media_gallery_content_on_your_site.htm