FCKEditor 给上传图片加水印

ckeditor/ckfinder/plugins/watermark   

1. ckeditor/ckfinder/config.php最后加入红色部分

include_once "plugins/imageresize/plugin.php";
include_once "plugins/fileeditor/plugin.php";
include_once "plugins/watermark/plugin.php";//加入水印插件

 

2. 水印插件配置js 

    /ckeditor/ckfinder/config.js

CKFinder.customConfig = function( config )
{

//加入

config.extraPlugins = 'watermark';

}

 

默认加的水印是 fck_class\ckfinder\plugins\watermark  下的 logo.gif

你可能感兴趣的:(fckeditor)