|
|
Line 7: |
Line 7: |
| 'maxHeight' => 100, | | 'maxHeight' => 100, |
| 'quality' => 80);</pre> | | 'quality' => 80);</pre> |
− | '''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.
| + | {{Thumbnail Description}} |
− | | |
− | '''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.
| |
Revision as of 12:57, 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);
Template:Thumbnail Description