Response.AppendHeader("Content-Disposition", "attachment;Filename=123.jpg");
Response.ContentType = "image/JPEG";
Response.End();
将123.jpg换成图片路径就行了
Response.ContentType = "image/JPEG";
Response.End();