(Template contents proof-read and formatted) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
* <code>maxWidth</code> and <code>maxHeight</code> – 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. | * <code>maxWidth</code> and <code>maxHeight</code> – 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. | ||
− | * <code>quality</code> – sets the quality of a thumbnail in a range from <code>1</code> to <code>100</code>. The smaller the quality value, the smaller the size of the thumbnail. Notice that an acceptable quality value is about <code>45</code> and the | + | * <code>quality</code> – sets the quality of a thumbnail in a range from <code>1</code> to <code>100</code>. The smaller the quality value, the smaller the size of the thumbnail. Notice that an acceptable quality value is about <code>45</code> and the most frequently used one is about <code>80</code>. |
* <code>directAccess</code> – 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 the <code>HTTP/304 Not Modified</code> header 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. When <code>directAccess</code> is set to <code>true</code>, thumbnails are loaded directly from the <code>_thumbs</code> folder by CKFinder. Note that it is impossible to use this setting, if the thumbnail directory is located outside the document root. | * <code>directAccess</code> – 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 the <code>HTTP/304 Not Modified</code> header 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. When <code>directAccess</code> is set to <code>true</code>, thumbnails are loaded directly from the <code>_thumbs</code> folder by CKFinder. Note that it is impossible to use this setting, if the thumbnail directory is located outside the document root. | ||
{{ #ifeq: {{{language}}} | php | * <code>bmpSupported</code> is a setting available only in the '''PHP connector''', because the GD library in PHP does not support the <code>.bmp</code> format. It is possible to enable support for <code>.bmp</code> files in CKFinder. In this case CKFinder will use a special PHP class to manipulate such images. Because resizing of <code>.bmp</code> files is relatively slow, this feature is disabled by default. }} | {{ #ifeq: {{{language}}} | php | * <code>bmpSupported</code> is a setting available only in the '''PHP connector''', because the GD library in PHP does not support the <code>.bmp</code> format. It is possible to enable support for <code>.bmp</code> files in CKFinder. In this case CKFinder will use a special PHP class to manipulate such images. Because resizing of <code>.bmp</code> files is relatively slow, this feature is disabled by default. }} | ||
* You may disable thumbnails by placing the bool value <code>false</code> in the <code>enabled</code> section. | * You may disable thumbnails by placing the bool value <code>false</code> in the <code>enabled</code> section. |
Latest revision as of 09:30, 10 January 2014
-
maxWidth
andmaxHeight
– 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 from1
to100
. The smaller the quality value, the smaller the size of the thumbnail. Notice that an acceptable quality value is about45
and 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 Modified
header 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. WhendirectAccess
is set totrue
, thumbnails are loaded directly from the_thumbs
folder 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
false
in theenabled
section.