<layout:productgallery>
AJAX
Data
Forms
Layout
ATTRIBUTES
EXAMPLES
Logic
Navigation
Personalisation
Standard
Templates
Regions
Third Party

<layout:productgallery> </...>

A space-efficient and attractive way to present many images of a product. This control is best used on single product page template.

Content

images
May contain any number of <img> or <standard:image> elements.

Attributes

id
string
(Required) Give this control a unique id. Can be accessed in the client DOM (eg, document.getElementById('myid') or in the server DOM using [? $myid ?] or [? $('myid') ?]).
modalTheme
string
Which theme the product gallery modal should adopt when revealed.
productId
integer
Integer representing the Product ID.

Examples

Product Gallery

Display an image gallery of a single product

HTML:

<layout:productgallery productid="1" modaltheme="light" />