开发者

CKFinder - how to use imageresize plugin?

Can anyone give me any ti开发者_Go百科ps, or point to documentation, on how to use the imageresize plugin for CKFinder, I can find nothing on this at all?

Thanks,

Toby


There is documentation for multiple langauges at docs.cksource.com Each language has a short intro on how to configure the ImageResize plugin. If you can confirm the langauge you are using, I'm sure you get more help


You're using the PHP version, so:

1) In config.php make sure that the plugin is actually enabled:

include_once "plugins/imageresize/plugin.php";

2) Make sure that some predefined sizes for thumbnails are set:

$config['plugin_imageresize']['smallThumb'] = '90x90';
$config['plugin_imageresize']['mediumThumb'] = '120x120';
$config['plugin_imageresize']['largeThumb'] = '180x180';

3) To verify that it works, just upload an image, right-click on it and in the context menu select "Resize". A dialog window that let's you resize an image should show up. You may even try it here: http://cksource.com/ckfinder/demo

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜