风讯donetCMS添加水印图片为实际大小
需要修改下面这个文件:
/Foosun.CMS/Common/FSImage.cs
找到
CODE:
double tempW = Convert.ToDouble(this._width) / 10 * Convert.ToDouble(width);
double tempH = Convert.ToDouble(this._height) / 10 * Convert.ToDouble(height);
将下面的二行换为
CODE:
WatermarkWidth = Convert.ToInt32(watermark.Width);
WatermarkHeight = Convert.ToInt32(watermark.Height);
------分隔线----------------------------
------分隔线----------------------------