Tom,
tommyclifton wrote: |
1. I am wondering if this code generates the main page that displays all the albums (page A) or if I have to hand-code it. If it does, how do I tell it which directories are to be considered album directories?
|
|
Yes, you have to hand-code it. The DotNetGallery itself doesn't have album function.
For example:
You have an album:
<A href="show.aspx?album=album1"><B>Animals</B></A>
-----------------------------------------------------------------
<A href="show.aspx?album=album2"><B>Nature</B></A>
<A href="show.aspx?album=album4"><B>Birds</B></A>
In the show.aspx:
<script runat="server">
// Obtain the gallery folder from query string
string album;
void Page_Load(Object sender, EventArgs e)
{
album = Request.QueryString["album"];
if (album == null || album=="/")
gallery1.FolderPath = "album1";
gallery1.FolderPath = album;
}
</script>
<CE:Gallery
id="gallery1"
runat="server"
Height="500"
Width="600"
Column = "8"
MaxImageWidth="1024"
BackColor="#ffffff"
CellPadding="5"
AutoResizeUploadedImages = "true"
CellSpacing="5"
ForeColor="#000000"
BorderColor="#cc0000"
BorderStyle="solid"
BorderWidth="0"
CssClass="container"
ShowThumbNailName="true"
ShowThumbNailSize="false"
ShowThumbNailDate="false"
ShowThumbNailDescription="true"
HomeURL="album.htm"
>
</CE:Gallery>
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx