帝国cms自动添加水印

帝国cms默认状况下,设置好了水印图片后,再每一次上传图片时都要手动选择添加水印,默认状况下图片添加水印是不被选中的。如下图:

帝国cms自动添加水印 

让添加水印默认被选中,需要更改系统文件:

(帝国cms7.2版本更改)/e/admin/ecmseditor/infoeditor/epage/TranImg.php

(帝国cms7.5版本更改)/e/admin/ecmseditor/eiditorpage/TranImg.php

查找如下代码:

<input name="getmark" type="checkbox" id="getmark" value="1" >

修改为:

<input name="getmark" type="checkbox" id="getmark" value="1" checked>

这样加水印按钮就默认被选中了。

本文链接:https://www.dnwfb.com/812.html,转载请注明出处。
0

评论0

没有账号? 注册  忘记密码?