当前位置: 代码迷 >> Web前端 >> FCKEditor 给下传图片加水印
  详细解决方案

FCKEditor 给下传图片加水印

热度:879   发布时间:2013-03-21 10:08:17.0
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

  相关解决方案