Re: increase the image file size for uploading

  •  11-01-2008, 9:26 PM

    Re: increase the image file size for uploading

    didn't work
    i used the imageinfo.aspx file 'cause imageupload.aspx, imageupload1.aspx, and imageupload2. aspx didn't have this :
    <%@ Register TagPrefix="CE" Namespace="DotNetGallery" Assembly="DotNetGallery" %>
     
    here are the codes:
     

    <%@ Page Language="c#" ValidateRequest="False" Trace="false" AutoEventWireup="false" Inherits="DotNetGallery.Include.imageinfo"%>

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

    <html>

    <head runat=server ID="Head1">

    <title><%= GetString("Editinfo") %> </title>

    <link rel="stylesheet" href='style.css'>

    </head>

    <script language="javascript">

    var OxOfdbf=["newWin","toolbar=no,width=",",height=","\x3Chtml\x3E\x3Chead\x3E\x3Ctitle\x3E","\x3C/title\x3E\x3C/head\x3E\x3Cbody background=\x22","\x22\x3E\x3C/body\x3E\x3C/html\x3E","document","body","clientWidth","opener","location"]; function ShowMe(Oxd,Oxe,Oxf,Ox10){ newWindow=window.open(Oxd,OxOfdbf[0x0],OxOfdbf[0x1]+Oxf+OxOfdbf[0x2]+Ox10) ; newWindow[OxOfdbf[0x6]].write(OxOfdbf[0x3]+Oxe+OxOfdbf[0x4]+Oxd+OxOfdbf[0x5]) ; newWindow.resizeBy(Oxf-newWindow[OxOfdbf[0x6]][OxOfdbf[0x7]][OxOfdbf[0x8]],Ox10-newWindow[OxOfdbf[0x6]][OxOfdbf[0x7]].clientHeight) ; newWindow.focus() ;} ; function leave(){if(window[OxOfdbf[0x9]]){ window[OxOfdbf[0x9]][OxOfdbf[0xa]].reload() ;} ; window.close() ;} ;

    </script>

    <body bottommargin="0" topmargin="5" marginheight="0" marginwidth="0">

    <form id="Form1" runat="server">

    <CE:Gallery ID="gallery1" runat="server" MaxImageSize="2000"></CE:Gallery>

    </form>

    <p align=center>

    <CE:imageeditgrid

    AutoGenerateColumns="false"

    PageSize="5"

    Width="830"

    Font-Name = "verdana"

    Font-Size = "xx-small"

    DataKeyField="id"

    CellSpacing="0"

    CellPadding="2"

    BorderStyle="solid"

    BorderColor="#ffffff"

    BorderWidth="1"

    GridLines="both"

    id="XmlEditGrid1"

    runat="server">

    <columns>

    <asp:boundcolumn runat="server" headertext="id" datafield="id" readonly="true" />

    <asp:TemplateColumn HeaderText="url">

    <ItemTemplate>

    <asp:image id="url" BorderWidth="0" Width="100" height="60" runat="server"> </asp:image>

    </ItemTemplate>

    </asp:TemplateColumn>

    <asp:boundcolumn runat="server" ItemStyle-Width="100" headertext="title" datafield="title"/>

    <asp:boundcolumn runat="server" ItemStyle-Width="300" headertext="description" datafield="description"/>

    <asp:boundcolumn runat="server" headertext="size" datafield="size" readonly="true"/>

    <asp:boundcolumn runat="server" headertext="width" datafield="width" readonly="true"/>

    <asp:boundcolumn runat="server" headertext="height" datafield="height" readonly="true"/>

    <asp:boundcolumn runat="server" headertext="date" datafield="date" readonly="true"/>

    </columns>

    <headerstyle font-size="9pt" font-bold="true" />

    <itemstyle />

    <pagerstyle font-name="verdana" font-size="xx-small" PrevPageText="3" NextPageText="4" />

    </CE:imageeditgrid>

    <br />

    <div align="center"><input type="button" value="<%= GetString("Close") %>" onclick="leave();" >&nbsp;&nbsp;<asp:button runat="server" ID="uploadButton"/></div>

    </form>

    </body>

    </html>

     
    please help thanks
View Complete Thread