Posted on: 11/26/2013 6:32:35 AM | Views : 762

Hi,
m saving image in my folder...i want to resize my image and want to store local folder..
any function thr resize image to store local folder..

My code i s here
public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; context.Response.Expires = -1; try { HttpPostedFile postedFile = context.Request.Files["Filedata"];
tempPath = context.Request["folder"].ToString() +"/"+ HttpContext.Current.Session.SessionID.ToString();
savepath = context.Server.MapPath(tempPath);
string filename = postedFile.FileName; if (!Directory.Exists(savepath)) Directory.CreateDirectory(savepath);
postedFile.SaveAs(savepath + @"\" + filename);
context.Response.Write(tempPath + "/" + filename); Go to the complete details ...