ckeditor+ckfinder添加水印。
阅读原文时间:2023年07月11日阅读:1

1.修改ckfinder文件下面的config.php:添加一句include_once "plugins/watermark/plugin.php";//水印配置文件

2.修改plugin.php文件最后几行:

if (empty($config['Plugin_Watermark']))
{
    $config['Plugin_Watermark'] = array(
        "source" => "logo.png",
        "marginRight" => 5,
        "marginBottom" => 5,
        "quality" => 90,
        "transparency" =>50,
    );
}