This repository contains ready-to-use code samples created for the CKFinder .Net connector documentation.
- Clone this repository (or download ZIP).
- Compile the solution
- Move compiled plugins to the CKFinder
plugins
directory, so the structure looks like below:
plugins
+-- DiskQuota
¦ +-- CKSource.CKFinder.Connector.Plugin.DiskQuota.dll
+-- GetFileInfo
¦ +-- CKSource.CKFinder.Connector.Plugin.GetFileInfo.dll
+-- UserActionsLogger
¦ +-- CKSource.CKFinder.Connector.Plugin.UserActionsLogger.dll
+-- Watermark
+-- CKSource.CKFinder.Connector.Plugin.Watermark.dll
To enable plugins, add their names to the plugins
configuration option in the connector configuration file (by default Web.config
):
<plugins folder="plugins">
<plugin name="DiskQuota">
<option name="userQuota" value="209715200" /> <!-- 209715200 = 200MB -->
</plugin>
<plugin name="GetFileInfo" />
<plugin name="UserActionsLogger" />
<plugin name="Watermark">
<option name="watermarkPath" value="/custom/image/path/stamp.png" />
</plugin>
</plugins>
Copyright (c) 2016, CKSource - Frederico Knabben. All rights reserved. For license details see: LICENSE.md.