<form action="/image/post" method="post" enctype="multipart/form-data">
<table>
<tr>
<td>File:</td>
<td>
<input id="File1" type="file" /></td>
</tr>
<tr>
<td>
<input id="Submit1" type="submit" value="submit" /></td>
</tr>
</table>
</form>
[HttpPost]
public ActionResult Post()
{
var file = Request.Files[0];
var filename = System.IO.Path.GetFileName(file.FileName);
var original = Image.FromStream(file.InputStream);
var now = original.TruncateImageCenter(100, 100);
string filepath = Server.MapPath("~/o/") + filename;
now.Save(filepath);
return Content("OK");
}