This demo illustrates how the ImageGallery extension can be populated with image information from a data source. The ImageGallery extension can be bound to a data source using the BindToXML method. While binding, the extension automatically creates image items and retrieves their property values from the corresponding data items. The extension implements specific properties that point to the data fields containing the required data:
In this demo, ImageGallery is bound to an XML file by passing the file name and the required XPath to the BindToXML method as a parameter. The FullscreenViewerThumbnailUrlField and ThumbnailUrlField properties are used to obtain the corresponding property values from the specified fields.