The module media_tree.contrib.cms_plugins contains a number of plugins for using FileNode objects on pages created with Django CMS.
Note
Of course you can also create your own models and plugins using FileNode objects. Please take a look at Fields and forms for more information on how to integrate Media Tree in your own applications.
This plugin allows you to put a file listing on a page, displaying download links for the selected FileNode objects in a folder tree.
The folder tree does not have to be identical to the actual tree in your media library, instead, you can create arbitrary nested structures, or output a merged (flat) list.
To use this plugin, put media_tree.contrib.cms_plugins.media_tree_listing in your installed apps, and run manage.py syncdb.
Override the template cms/plugins/media_tree_listing.html if you want to customize the output. Please take a look at the default template for more information.
This plugin allows you to put a single picture on a page, as a figure complete with caption and other metadata.
To use this plugin, put media_tree.contrib.cms_plugins.media_tree_image in your installed apps, and run manage.py syncdb.
Override the template cms/plugins/media_tree_image.html if you want to customize the output. Please take a look at the default template for more information.
By default, images are rendered to the output using the template media_tree/filenode/includes/figure.html, which includes captions.
This plugin allows you to put a slideshow on a page, automatically displaying the selected image files with customizable transitions and intervals.
To use this plugin, put media_tree.contrib.cms_plugins.media_tree_slideshow in your installed apps, and run manage.py syncdb.
Override the template cms/plugins/media_tree_slideshow.html if you want to customize the output. Please take a look at the default template for more information.
By default, images are rendered to the output using the template media_tree/filenode/includes/figure.html, which includes captions.
This plugin allows you to put an image gallery on a page. Galleries can include nested folder structures or display merged (flat) compositions of all images in a range of subfolders. Pictures can be browsed back and forth or auto-played.
To use this plugin, put media_tree.contrib.cms_plugins.media_tree_gallery in your installed apps, and run manage.py syncdb.
Override the template cms/plugins/media_tree_gallery.html if you want to customize the output. Please take a look at the default template for more information.
By default, images are rendered to the output using the template media_tree/filenode/includes/figure.html, which includes captions.