An image gallery web control for publishing photo galleries on the web.
- Apache License Version 2.0
- http://www.apache.org/licenses/LICENSE-2.0
- Flickr.NET API http://www.codeplex.com/FlickrNet
- Lightbox Slideshow http://www.justinbarkhuff.com/lab/lightbox_slideshow/
- Display an Image Gallery in Thumbnail View or in Mosaic View.
- Slideshow images, click on an image once all the images are loaded.
- Read Image Information using a Flickr Account.
- Cache Image Information in the local Web Application to improve performance. Use RefreshCache.aspx page to refresh the Image Cache. The default Secret Key is 'key'.
- Mono XSP Web Server.
- A Flickr Account, Flickr API Key and Flickr User ID.
- As a support for the future development of the ImageGallery please keep the link https://github.com/imesh/image-gallery to the project site in the footer.
-
Copy the ImageGallery folder in ~/App_Code to your Web Project's App_Code folder.
-
Copy the Default theme in ~/App_Themes folder to your App_Themes folder or else include the content of the style sheet in your Web Project's theme.
-
Copy the folders lightbox_slideshow and UserControls to you Web Root.
-
Copy the file Global.asax to your Web Root or else merge it's content with your existing file. Please note that the code behind, Global.asax.cs is placed inside ~/App_Code/ImageGallery folder.
-
Copy the files ImageGallery.master, ImageGallery.master.cs, RefreshCache.aspx and RefreshCache.aspx.cs to your Web Root.
-
Add the FlickrNET configuration to your Web.config file. Have a look at the ~/Web.config file. ...
-
Place the ImageGallery ASP.NET User Control in a new ASP Page. Have a look at the
/Default.aspx file. <%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="/imagegallery.master" CodeFile="Default.aspx.cs" Inherits="Default" Theme="Default" %> <%@ Register TagPrefix="uc" TagName="Gallery" Src="~/UserControls/Gallery.ascx" %><asp:Content ID="ImageGallery" ContentPlaceHolderID="MainContent" runat="Server"> <uc:Gallery runat="server"></uc:Gallery> </asp:Content>
-
Set Flickr Account settings and other ImageGallery settings in ~/App_Code/ImageGallery/DefaultSettings.cs file. private static string flickrApiKey = "Place the Flickr API Key here"; private static string flickrUserId = "Place the Flickr User ID here";