首页 > 问答

帝国CMS程序安装头像裁切插件,帝国CMS怎么实现头像裁切功能(18)

作者:轶名 来源:网络 2014-01-22 10:26:01

帝国CMS是一个功能很强大的门户CMS系统,可是它的个人空间功能却并不强大,甚至会员头像都不能实现自动裁剪功能,要怎么给自己的帝国CMS系统安装头像裁切插件呢?最佳答案:头像裁切一直是一个棘手的问题,网上一些裁...


               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;
 18/22   首页 上一页 16 17 18 19 20 下一页 尾页
上一篇 下一篇

I 热点 / Hot