increase the image file size for uploading

Last post 11-07-2008, 2:24 AM by Adam. 14 replies.
Sort Posts: Previous Next
  •  10-29-2008, 12:43 AM 45167

    increase the image file size for uploading

    how to increase the image size for uploading image? default is 1000k , i want more than that thank
  •  10-29-2008, 1:11 AM 45168 in reply to 45167

    Re: increase the image file size for uploading

    Please use the following property:
     

    Gallery.MaxImageSize Property

    Specifies the max size in Kbytes of the image files that the user has access to upload. Default 1000k


    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

  •  10-29-2008, 10:17 AM 45184 in reply to 45168

    Re: increase the image file size for uploading

     
    Thank you for replying, but which file? where can i find "Gallery.MaxImageSize Property"? Thanks
     
    Please use the following property:
     

    Gallery.MaxImageSize Property

    Specifies the max size in Kbytes of the image files that the user has access to upload. Default 1000k

  •  10-29-2008, 11:34 PM 45190 in reply to 45184

    Re: increase the image file size for uploading

    hello, can anyone please help? How to find the file and how to edit the "Gallery.MaxImageSize Property".  I hope cutesoft.net does have good support...but so far kinda slow repsonse :-) thank you guys in adv
  •  10-30-2008, 8:03 AM 45199 in reply to 45190

    Re: increase the image file size for uploading

    Hi timhieuxem,

    Gallery.MaxImageSize Property
    Specifies the max size in Kbytes of the image files that the user has access to upload. Default 1000k

    You can refer to the following examples set
    forexample:

    <%@ Page Language="C#" %>

    <%@ Register TagPrefix="CE" Namespace="DotNetGallery" Assembly="DotNetGallery" %>
    <html>
    <head>
    </head>
    <body>
        <form runat="server">
            <CE:Gallery ID="gallery1" runat="server" MaxImageSize="2000"></CE:Gallery>
        </form>
    </body>
    </html>

     Regards,
     
    Ken
  •  10-30-2008, 11:59 PM 45232 in reply to 45199

    Re: increase the image file size for uploading

    thank you for showing Ken, i'm sorry i just started learning.  In which files for exam: imageupload.aspx file or....i'm using the dotnetgallery.  Thank you in adva.
  •  10-31-2008, 9:11 AM 45246 in reply to 45232

    Re: increase the image file size for uploading

    You need to modify the page which contains dotnetgallery control.

    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

  •  11-01-2008, 9:26 PM 45293 in reply to 45246

    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
  •  11-03-2008, 12:15 PM 45335 in reply to 45293

    Re: increase the image file size for uploading

    anyone please help thanks
  •  11-04-2008, 6:56 AM 45368 in reply to 45335

    Re: increase the image file size for uploading

    You need to modify the page which contains dotnetgallery control instead of the dialog page.

    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

  •  11-04-2008, 11:16 AM 45385 in reply to 45368

    Re: increase the image file size for uploading

    "the page which contains dotnetgallery control"
    Thank you very much Adam, like i said..i'm extremely new with the website... can you please point me which file and where can i modify thanks...
  •  11-04-2008, 11:22 AM 45386 in reply to 45385

    Re: increase the image file size for uploading

     
    This is an example page which contains the dotnetgallery control.
     
    Basically it's an aspx page which contains the following code:
     
    <CE:Gallery
        id="gallery1"
        runat="server"
        Width="600"
        Column = "6"
        MaxImageWidth="1024"
        BackColor="#ffffff"
        CellPadding="5"  
        AutoResizeUploadedImages = "true"  
        CellSpacing="5"
        ForeColor="#000000"
        BorderColor="#cc0000"
        BorderStyle="solid"
        BorderWidth="0"
        CssClass="container"
        ShowUpload="true"
        ShowEditDescription="false"
        ShowThumbNailName="true" 
        ShowThumbNailSize="true" 
        ShowThumbNailDate="false" 
        ShowThumbNailDescription="true" 
        ShowDescriptioninIndexView="false"
        FolderPath = "~/samplefolder"
       ></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

  •  11-04-2008, 11:49 AM 45388 in reply to 45386

    Re: increase the image file size for uploading

    Adam,
    thank you so much for the fast reply.
    where do i put
      <form runat="server">
            <CE:Gallery ID="gallery1" runat="server" MaxImageSize="2000"></CE:Gallery>
        </form>
    because i couldn't not locate the word "maximagesize"
    Again, thank you so much for your help
  •  11-06-2008, 12:14 PM 45473 in reply to 45388

    Re: increase the image file size for uploading

    can anyone please help? Thanks
  •  11-07-2008, 2:24 AM 45494 in reply to 45388

    Re: increase the image file size for uploading

    <CE:Gallery
        id="gallery1"
        runat="server"
        Width="600"
        Column = "6"
        MaxImageWidth="1024"
        BackColor="#ffffff"
        CellPadding="5"  
        AutoResizeUploadedImages = "true"  
        CellSpacing="5"
        ForeColor="#000000"
        BorderColor="#cc0000"
        MaxImageSize="2000"
        BorderStyle="solid"
        BorderWidth="0"
        CssClass="container"
        ShowUpload="true"
        ShowEditDescription="false"
        ShowThumbNailName="true" 
        ShowThumbNailSize="true" 
        ShowThumbNailDate="false" 
        ShowThumbNailDescription="true" 
        ShowDescriptioninIndexView="false"
        FolderPath = "~/samplefolder"
       ></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

View as RSS news feed in XML