POST TIME:2021-05-24 02:49
DedeCMS v5.5 修正BUG,关于文章编辑器上传图片,未能加入水印的解决方法。
打开include\FCKeditor\editor\dialog\dede_image.php
第117行,原文:
以下为引用的内容:
if (in_array($imgfile_type,$cfg_photo_typenames))
{
WaterImg($fullfilename,'up');
}
|
修改为:
以下为引用的内容:
if ($needwatermark=="1" && in_array($imgfile_type,$cfg_photo_typenames)) //修改 by nic
{
WaterImg($fullfilename,'up');
WaterImg($full_litfilename,'up'); // add by nic
}
|
