帝国CMS程序安装头像裁切插件,帝国CMS怎么实现头像裁切功能
2014-01-22 10:26:01

               string oPa人体Width = context.Request.Form["W"].ToString();
               string oPa人体Height = context.Request.Form["H"].ToString();
               int width = Conve人体.ToInt32(context.Request.Form["width"].ToString());
               ImgHelper imghelper = new ImgHelper();
               
               imghelper.GetPa人体(spPath, spSavedPath, 0, 0, 100, 100,Conve人体.ToInt32(pOrigSta人体PointX),Conve人体.ToInt32(pOrigSta人体PointY), Conve人体.ToInt32(oPa人体Width), Conve人体.ToInt32(oPa人体Height),width);
               context.Response.Write("<content>" + pSavedPath + "</content>");
           }
           
       }
       catch (Exception ex)
       {
           context.Response.Write("<content>Error</content>");
       }
   }

   public bool IsReusable
   {
       get
       {
           return false;