You can set thumbnails parameters by changing the following values:
config.thumbnails = structNew(); config.thumbnails.url = config.baseUrl & '_thumbs'; config.thumbnails.baseDir = ""; config.thumbnails.enabled = true; config.thumbnails.maxWidth = 200; config.thumbnails.maxHeight = 200; config.thumbnails.quality = 80;
-
maxWidthandmaxHeight– determine the maximum size of the thumbnails which can appear in CKFinder. These values are defined in pixels. You can obviously increase them, but the thumbnails will then look more like full-sized images than like miniatures.
-
quality– sets the quality of a thumbnail in a range from1to100. The smaller the quality value, the smaller the size of the thumbnail. Notice that an acceptable quality value is about45and the most frequently used one is about80.
-
directAccess– this setting may increase the overall performance of CKFinder. By default, CKFinder connects to the server connector to get the thumbnail. It is not a problem in most cases, because the connector sends theHTTP/304 Not Modifiedheader most of the time to save the traffic and reduce server-side processing. However, sometimes it is better to leave cache control to the browser. WhendirectAccessis set totrue, thumbnails are loaded directly from the_thumbsfolder by CKFinder. Note that it is impossible to use this setting, if the thumbnail directory is located outside the document root.
- You may disable thumbnails by placing the bool value
falsein theenabledsection.