Image thumbnail and resize
<p>I have a code of picture resizing and image thumbnail working fine but it only support 3MB maximum file size. I want to increase the file size limit to atleast 10 to 12MB. anyone can do for me ? Thanks </p>

<pre><code>   using System;
   using System.Data;
   using System.Configuration;
   using System.Web;
   using System.Web.Security;
   using System.Web.UI;
   using System.Web.UI.WebControls;
   using System.Web.UI.WebControls.WebParts;
   using System.Web.UI.HtmlControls;

   public partial class _Default : System.Web.UI.Page 
   {
    protected void Page_Load(object sender, EventArgs e)
     {
   }


     protected void Upload_Click(object sender, EventArgs e)

    {

   if (FileUpload1.HasFile)

    {

        FileUpload1.SaveAs(MapPath("Image/" + FileUpload1.FileName));

        System.Drawing.Image img1 = System.Drawing.Image.FromFile(MapPath("image/") + FileUpload1.FileName);      

        System.Drawing.Image bmp1 = img1.GetThumbnailImage(50, 50, null, IntPtr.Zero);

        bmp1.Save(MapPath("thumbnail/S/") + FileUpload1.FileName);

        System.Drawing.Image bmp2 = img1.GetThumbnailImage(100, 100, null, IntPtr.Zero);

        bmp2.Save(MapPath("thumbnail/L/") + FileUpload1.FileName);

        NormalImage.ImageUrl = "Image/" + FileUpload1.FileName;
        ThumbnailImageS.ImageUrl = "thumbnail/S/" + FileUpload1.FileName;
        ThumbnailImageM.ImageUrl = "thumbnail/L/" + FileUpload1.FileName;
    }
}
</code></pre>
