bryantbogota
New Member
Below is my code to upload and image and save it to be later displayed in a GridView,How can I resize the image to a small one before saving it if it is too large?\[code\]if (this.fuUpload.HasFile == true) { string path = Server.MapPath(@"~\images"); string filename = this.fuUpload.FileName; this.fuUpload.SaveAs(path + @"\" + filename); this.image.ImageUrl = @"\images\" + filename; }\[/code\]