Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

EPiImageGallery Grid

This is a sample user control how to use a EPiImageGallery Property on a page. It renders thumbnails of all the images on a single page. Please note that this just one way to use the EPiImageGallery Property. The property provides the images as an image collection so it is easy to show the images the way you want (e.g. as a list, a slideshow etc.). Another example is EPiImageGalleryViewer.

Usage:

Register the user control on the page:

<%@ Register TagPrefix="EPiImage" 
             TagName="EPiImageGalleryGrid" 
             Src="~/EPiImage/UserControls/EPiImageGalleryGrid.ascx" %>

Then add this tag with the correct PropertyName set to display the image gallery:

<EPiImage:EPiImageGalleryGrid ID="EPiImageGalleryGrid" 
PropertyName="EPiImageGalleryProperty" 
ThumbnailHeight="150" ThumbnailWidth="150" 
DescriptionHeight="20" DownloadLinkHeight="20" 
Transformation="ScaleToFill" 
ShowDescription="true" 
ShowDownloadLink="true" 
LinkThumbnailsTo="OriginalImage" runat="server" />

Attachments