Forums | Support | Company
image gallery

ASP.NET Image Gallery

Deployment

There are 4 simple steps to install DotNet Gallery in your application:

1. Install the assembly

Copy the DotNetGallery.dll assembly to your application bin folder or into the GAC (Global Assembly Cache).

2. Copy Gallery Client files

The "CuteSoft_Client" folder and all file it contains should be deployed to http://{your site}/{your application}/ on your web site.

If you want to deploy Client file to a different location, please use GalleryClient property.

3. Add Uploader httpModule to web.config's httpModules list

IIS 6.0 and IIS 7.0 Classic mode
<system.web>
   <httpModules>
     <add name="DotNetGallery.UploadModule" type="DotNetGallery.UploadModule,DotNetGallery"/>
    </httpModules>
</system.web>

IIS 7.0 Integrated mode
<system.webServer>
   <modules>
     <add name="DotNetGallery.UploadModule" type="DotNetGallery.UploadModule,DotNetGallery"/>
   </modules>
</system.webServer>

4. Adding DotNet Gallery to an ASP.NET Page

Here is the minimal ASP.NET page you would need to display the "/myGallery" directory of images as an image gallery:

<%@ Register TagPrefix="DotNetGallery" Namespace="DotNetGallery" Assembly="DotNetGallery" %>

<dotnetgallery:gallerybrowser id="dotnetgallery1" GalleryFolder="/myGallery" runat="server"></dotnetgallery:gallerybrowser>







Download Now

.NET Framework

Compatible with .NET Framework 1.1, 2.0, 3.0, 3.5.