The Photo Gallery control uses silverlight to upload multiple images and resize them. You can create multiple galleries and display them on pages and blog posts. When displaying a gallery, you can specify the gallery name and the number of columns to display. The images are laid out in a thumbnail grid pattern and utilize lightbox 2.0 for viewing.
Download: PhotoGallery.zip (839.94 kb)
To install Photo Gallery to BlogEngine 2.5
- Unzip the PhotoGallery.zip
- Copy the files to the appropriate folders
- Update your web.config's appsettings section with the following lines
<!-- Gallery Folder -->
<add key="GalleryLocation" value="~/gallery/"/>
<!-- Receiver -->
<add key="Receiver" value="http://[yoursite]/receiver.ashx"/>
- Update web.sitemap to add Gallery to the admin menu
<siteMapNode url="~/admin/Settings/Gallery.aspx" title="Gallery" rights="CreateNewPages, EditOwnPages, EditOtherUsersPages, PublishOwnPages, PublishOtherUsersPages" description="" />
To display a gallery on a page, put the following in your page content surrounded by [ ]
usercontrol:~/user controls/photogallery.ascx GalleryName=[Gallery to Display]; Columns=[number of columns]
View the example gallery page to see how the gallery actually functions.
