mvc4 截取上传图片做头像,自动生成不同小尺寸缩略图
实现: 页面代码: p class = "phototxt" 选择你要上传的头像/p div class = "upfile" @ using (Html.BeginForm( "uploadHead" , "ucenter" , FormMethod.Post, new { ID = "user_head_form" , enctype = "multipart/form-data" })){ input type= "file" nam