Re: User Image Gallery

  •  11-29-2004, 1:46 AM

    Re: User Image Gallery

    Here ya go...


    <%@ Page Language="C#"%>
    <%@ Register TagPrefix="CE" Namespace="DotNetGallery" Assembly="DotNetGallery" %>

    <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>

    <html>
        <head>
            <title>J a y e B N e l s o n . c o m - Photos</title>
    <link rel="stylesheet" type="text/css" href="/include/sd_style_lt_blue.css" title="sd_style_dk_blue">
    <script src="/js/email_page.js" type="text/javascript"></script>
    <script src="/js/popup.js" type="text/javascript"></script>
    <script src="/js/rollover.js" type="text/javascript"></script>
        <body bgcolor="#000000">
     <form runat="server" ID="mainform"><CENTER>
       <div align=center class="head"><b><font size=5>Photo Gallery - Oceanside (1)</b></font><P></div>
    <P>&nbsp;
    <P>&nbsp;
       <p align=center>
       <CE:Gallery
        id="gallery1"
        runat="server"
        Height="500" 
        Width="600"
        Column = "6"
        MaxImageWidth="1024"
        BackColor="#000099"
        CellPadding="5"  
        AutoResizeUploadedImages = "true"  
        CellSpacing="5"
        ForeColor="#000099"
        BorderColor="#ffffff"
        BorderStyle="solid"
        BorderWidth="1"
        CssClass="container"
                                    ShowUpload="false"
                                    ShowEditDescription="false"
        ShowThumbNailName="false" 
        ShowThumbNailSize="false" 
        ShowThumbNailDate="false" 
        ShowThumbNailDescription="true" 
        HomeURL="/photos"
        ></CE:Gallery><br>    
       </p>
         </form>
        </body>
    </html>

     

View Complete Thread