织梦缩略图不加水印 文章页图片加水印的方法(织梦文字水印设置)
220
2022-08-09
织梦缩略图不加水印 文章页图片加水印的方法(织梦缩略图不清晰)
解决方法

1、打开织梦 include/dialog/select_images.php 文件
找到
value='1' class='np' />水印
修改为
水印
解析:这样做的目的是为了控制水印默认为未选中状态
2、打开 include/dialog/select_images_post.php 文件
找到
if(in_array($imgfile_type, $cfg_photo_typenames))
{
WaterImg($fullfilename,'up');
}
修改为
if(in_array($imgfile_type,$cfg_photo_typenames) && isset($needwatermark))
{
WaterImg($fullfilename,'up');
}
发表评论
暂时没有评论,来抢沙发吧~