Deployment ASP Gallery
ASP Gallery is 100% HTML and JavaScript code on the client, and ASP code on the server, and can be setup on your web server in just 5 minutes,
simply by following this setup guide.
1. Deploying Gallery Client files.
The "aspgallery" folder and all file it contains (located in the archive) should be deployed to http://{your site}/{your application}/aspgallery/ on your web site.
2. Adding Gallery into ASP page.
- <%@ language="VBScript" %>
- <!--
- <!-- #include file="aspgallery/include_aspgallery.asp" -->
- <%
-
-
- AspGallery_ImagingMethod="AspNetService"
-
-
- Dim gallery
- Set gallery=new AspGallery
- gallery.AllowEdit=True
- gallery.AllowPostComment=True
- gallery.AllowShowComment=True
-
- gallery.GalleryFolder="defaultalbum"
-
- gallery.LogonUserID="[email protected]"
- gallery.LogonUserName="UserName"
-
- gallery.ProcessAjaxPostback()
-
- %>
- <html>
- <head>
- </head>
- <body>
- <!--
- <%=gallery.GetString() %>
- </body>
- </html>
3. Adding Admin Console and Slide Show button into page.
- <a href="#" onclick="thegallerybrowser.ShowEditor();return false;">Admin Console</a> |
- <a href="#" onclick="thegallerybrowser.ShowSlider();return false;">Start slide show</a>