Gallery elements

XDIME 2 makes use of several elements from the Gallery vocabulary, used to manage gallery and slideshow capabilities for widgets. The namespace prefix used for these elements is gallery: and the namespace declaration is http://www.volantis.com/xmlns/2006/10/gallery-widget.

XDIME 2 makes use of several elements from the Gallery vocabulary, used to manage gallery and slideshow capabilities for widgets. The namespace prefix used for these elements is gallery: and the namespace declaration is http://www.volantis.com/xmlns/2006/10/gallery-widget.

Name Purpose
gallery:end-item-number

Returns the number of the last item in the group being displayed by the Gallery widget.

gallery:gallery

Defines a Gallery widget that displays content items identified in the items attribute.

gallery:item

Defines a single item in the set of items used by the Gallery or Slideshow widgets. Content specified by the widget:summary element will be displayed in the gallery. The Slideshow widget will present content provided by widget:detail.

gallery:item-display

Displays content of an item specified by the gallery:item element. When used within the gallery:gallery element, it displays the summary part of the item. If used within the gallery:slideshow element, it displays its detail part.

gallery:item-number

Returns the number of the item being displayed by Slideshow widget.

gallery:items

Defines a set of items to be displayed by the Gallery or Slideshow widgets.

gallery:items-count

Displays the total number of gallery:item elements in a gallery or slideshow.

gallery:page-number

Returns the number of the page being displayed by the Gallery widget.

gallery:pages-count

Displays the total number of pages in a selected gallery.

gallery:slideshow

The main element of a Slideshow widget that displays either the content identified in the items attribute, or in the same attribute on an associated gallery:gallery element.

gallery:start-item-number

Returns the number of the first item in the group being displayed by the Gallery widget.

Related topics