Gallery is CMS plugin to manage and show pictures (images) and related info about pictures on site page. It allow manage and edit gallery items.
Plugin data are stored as datastreams of gallery container page digital object. Each gallery item consist of:
- thumbnail image used internally only in gallery list manager; datastream is stored as "storage" type
- regular image with title and description; digital object datastream label is used as image title; description is stored into digital object datastream metadata as Dublin Core "Description" metadata field; datastream is stored as "file" type
- orginal image (optional); ID of original image is stored into regular image digital object datastream metadata as Dublin Core "Identifier" metadata field; datastream is stored as "file" type
All images can be accessed by its datastream id (auto generated) in form "page_url / id". Regular images and their thumbnails are related each together by datastream sequence numbers in digital object.
Plugin delegates to site:
- js include file: cms-plugin-gallery.js containing cms_plugin_gallery() jQuery plugin
- css include file: cms-plugin-gallery.css
- Smarty template plugin {cms_plugin_gallery}