Beispiel #1
0
        /// <summary>
        /// Gets the HTML to display a nicely formatted thumbnail image of the specified <paramref name="galleryObject" />, including a 
        /// border, shadows and (possibly) rounded corners. This function is the same as calling the overloaded version with 
        /// includeHyperlinkToObject and allowAlbumTextWrapping parameters both set to <c>false</c>.
        /// </summary>
        /// <param name="galleryObject">The gallery object to be used as the source for the thumbnail image.</param>
        /// <returns>Returns HTML that displays a nicely formatted thumbnail image of the specified <paramref name="galleryObject" /></returns>
        public static string GetThumbnailHtml(IGalleryObject galleryObject)
        {
            var moBuilder = new MediaObjectHtmlBuilder(MediaObjectHtmlBuilder.GetMediaObjectHtmlBuilderOptions(galleryObject, DisplayObjectType.Thumbnail));

            return moBuilder.GetThumbnailHtml();
        }