Re: Images not uploading to the server

  •  11-17-2009, 10:55 AM

    Re: Images not uploading to the server

    no worries
     
    <%@ Page Language="C#" %>
    <%@ Register TagPrefix="DotNetGallery" Namespace="DotNetGallery" Assembly="DotNetGallery" %>
    <%@ Register TagPrefix="uc1" TagName="TopBanner" Src="Banner.ascx" %>
    <script runat="server">
    protected override void OnInit(EventArgs e)
    {
    base.OnInit(e);
    GalleryBrowser1.Layout="SlideShow";
    GalleryBrowser1.AlbumID="General";
    // if(Context.User.Identity.Name=="Admin")
    // {
    GalleryBrowser1.AllowEdit=true;
    GalleryBrowser1.AllowPostComment=false;
    GalleryBrowser1.AllowShowComment=false;
    // }
    }
    </script>


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
    <head>
    <meta name="Description" content="Seven Acres" />
    <meta name="Keywords" content="Seven Acres" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="Distribution" content="Global" />
    <meta name="Author" content="delineo - martindelineo@gmail.com" />
    <meta name="Robots" content="index,follow" />

    <title>Seven Acres - Gallery - Home</title>
    <style type="text/css">
    @import "/includes/style.css";
    </style>
    <script type="text/javascript" src="includes/swfobject.js"></script>
    <script type="text/javascript" src="includes/script.js"></script>
    <script type="text/javascript" src="http://cutesoft.net/unitpngfix.js"></script>
    <link href="Sample.css" type="text/css" rel="stylesheet" />
    </head>
    <body>
    <form id="body" runat="server">

    <div id="contentGallery">
    <img src="http://cutesoft.net/images/gallery_header.png" title="Gallery" alt="Gallery" border="0" width="1000px" height="683px" />
       
    <div id="logo">
    <a href="http://cutesoft.net/"><img src="http://cutesoft.net/images/logo.png" title="seven acres" alt="seven acres" width="228" height="106" border="0" /></a>
    </div>


    <ul id="nav">
    <li><a href="http://cutesoft.net/">home</a></li>
    <li><a href="http://cutesoft.net/woodland/">woodland</a></li>
    <li><a href="http://cutesoft.net/wildlife/">wildlife</a></li>
    <li><a href="http://cutesoft.net/bradshaw_brook/">bradshaw brook</a></li>
    <li><a href="http://cutesoft.net/bleaching_industry">bleaching industry</a></li>
    <li><a href="http://cutesoft.net/mining_works">mining works</a></li>
    <li><a href="http://cutesoft.net/food/">food</a></li>
    <li><a href="http://cutesoft.net/links/">links</a></li>
    </ul>

    <div id="GalleryHolder">

    <div id="CommonBody" align="center">
               <a href="#" onclick="thegallerybrowser.ShowEditor();return false;">Show Editor panel</a>
    <dotnetgallery:gallerybrowser runat="server" id="GalleryBrowser1" Width="720" Height="430" />
                        <script type="text/javascript">  
    function GalleryCreateImage(url,width,height)   
    {   
        var img=document.createElement("IMG");   
        img.src=url;   
        img.width=width;   
        img.height=height;   
        return img;   
    }   
    </script>  
    </div>
    </div>
                
    </div>

    </div>

    </form>
    </body>
    </html> 
View Complete Thread