CKUtils Bundle Customizing
I. Preview Customizing
This plugin has some configurable parameters:
- You can configure both size and quality of the previews. Insert this code (in accordance with the default parameters) into `path-to-ckfinder/config.php` and change the values:
$config['Plugin_Thumbs'] = Array(
'maxWidth' => 200,
'maxHeight' => 140,
'quality' => 80
);
- You can change the class of a preview link in a document by changing the corresponding parameter in `path-to-ckfinder/config.js`:
config.smallimgHrefClass = 'gallerypic';
For example, this default code will wrap preview in <a> links with class `gallerypic`:
- You can configure the class of a preview wrapper by adding CSS global document (or modifying the existing one) with a class description. For example, you can add a picture border to all image previews by adding this code:
.gallerypic img {
background-color: black;
padding: 15px 15px 25px 15px;
}
In HTML document it will look like this:

II. CKUtils File customizing
This plugin enables changing the parameter of a download icon.
In order to change it, replace `path-to-ckeditor/plugins/doksoft_file/doksoft_file_download.png` with your own image. |