Contents
CKFinder is a plugin-based application and as such it can be extended relatively easily.
Enabling JavaScript Plugins
To add a plugin to CKFinder, upload it to the plugins folder and enable it by using the extraPlugins configuration option in the config.js file:
CKFinder.customConfig = function( config )
{
config.extraPlugins = 'dummy';
};
Enabling ASP.NET Plugins
To enable an ASP.NET plugin, follow the steps below.
Step 1: Create a Reference to the .dll File
To add a plugin to CKFinder, create a reference to the .dll file containing the plugin (for example: CKFinder_ImageResize.dll) in your project, using one of the following methods:
- manually copy the
.dllfile with the plugin (it is located in theckfinder/plugins/pluginname/bin/Releasedirectory) to thebindirectory of your website, - or in your Visual Studio.NET project, right-click References in the Solution Explorer section, then use Browse to select the
.dllfile from the directory you have saved it in.
Step 2: Enable the Plugin in config.ascx
You should now enable the plugin in the configuration file (config.ascx):
Plugins = new string[] {
"CKFinder.Plugins.ImageResize, CKFinder_ImageResize"
};