Attachment image gallery

  Previous topic Next topic Print this topic Mail us feedback on this topic!
Displays a list of files attached to the selected document in an image gallery using the Lightbox flash layout and functionality. Content is formatted according to the selected transformations.

When writing a custom transformation for a web part using the Lightbox effect, it is necessary to set the 'rel' and 'rev' parameters as highlighted in the transformation code below. The title parameter is used to determine the description of the image displayed in the lightbox.


<a href="<%# GetDocumentUrl() %&gt;" rel="lightbox[group]" rev="<%# Eval("NodeAliasPath") %>" title="<%# Eval("FileDescription") %>"><img src="<%# GetFileUrl("FileAttachment") %&gt;?maxsidesize=150" alt="&lt;%# Eval("FileName") %&gt;" /&gt;&lt;/a&gt;


If you would like to use multiple lightboxes on a single page, it is necessary to set a different Group name property for each lightbox web part.

Help URL: http://devnet.kentico.com/docs/webparts/index.html?AttachmentImageGallery_overview.htm