Thumbnails"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(New page: You can set thumbnails parameters byc changing the values of the parameters: <pre>$config['Thumbnails'] = Array( 'url' => $baseUrl . '_thumbs', 'directory' => $baseDir . '_thumbs', '...)
 
Line 11: Line 11:
 
'''quality''' sets the quality of the thumbnail in a range from 1 to 100. The smaller the quality the smaller the size of the thumbnails. Notice that an acceptable value of the quality is about 45 and the mostly used is about 80.
 
'''quality''' sets the quality of the thumbnail in a range from 1 to 100. The smaller the quality the smaller the size of the thumbnails. Notice that an acceptable value of the quality is about 45 and the mostly used is about 80.
  
You may disable the thumbnails by placing the bool value '''false''' in the ''''enabled''' section.
+
You may disable the thumbnails by placing the bool value '''false''' in the '''enabled''' section.
  
 
Remember that all thumbnails will end up in the same directory, no matter the resource type.
 
Remember that all thumbnails will end up in the same directory, no matter the resource type.

Revision as of 12:07, 21 December 2007

You can set thumbnails parameters byc changing the values of the parameters:

$config['Thumbnails'] = Array(
'url' => $baseUrl . '_thumbs',
'directory' => $baseDir . '_thumbs',
'enabled' => true,
'maxWidth' => 100,
'maxHeight' => 100,
'quality' => 80);

maxWidth and maxHeight determines the maximum size of the thumbnails which can appear in CKFinder. These values are expressed in pixels. Of course you can increase them but than the thumbnails will look more like the full-sized images rather than miniatures.

quality sets the quality of the thumbnail in a range from 1 to 100. The smaller the quality the smaller the size of the thumbnails. Notice that an acceptable value of the quality is about 45 and the mostly used is about 80.

You may disable the thumbnails by placing the bool value false in the enabled section.

Remember that all thumbnails will end up in the same directory, no matter the resource type.