织梦DEDECMS百度编辑器Ueditor上传图片及下载远程图片无法加水印的解决方法
一、打开 \include\ueditor\php\action_upload.php 找到
include "Uploader.class.php";
在下面添加:
require_once("../../common.inc.php");
require_once("../../image.func.php");
二、打开 \include\ueditor\php\Uploader.class.php 找到
$this->stateInfo = $this->stateMap[0];
在124行左右,在它下面加上
@WaterImg($this->filePath, 'down');
在258行左右,在它下面加上
@WaterImg($filePath, 'down');
亲测有效
织梦DEDECMS安装百度编辑器ueditor的方法
织梦DEDECMS百度编辑器Ueditor上传图片及下载远程图片无法加水印的解决方法:等您坐沙发呢!