Images"

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.

Line 1: Line 1:
{{Ckfinder_2.x image description}}
+
{{CKFinder_2.x image description}}
  
* [[CKFinder_2.x/Developers Guide/ASP/Configuration/Images/Thumbnails|Thumbnails]]
+
== Thumbnails ==
* [[CKFinder_2.x/Developers Guide/ASP/Configuration/Images/Scaling|Scaling]]
+
 
 +
You can set thumbnails parameters by changing the values of the parameters:
 +
<pre>Set Thumbnails = server.CreateObject("Scripting.Dictionary")
 +
Thumbnails.Add "url", baseUrl &amp; "_thumbs"
 +
Thumbnails.Add "directory", baseDir &amp; "_thumbs"
 +
Thumbnails.Add "enabled", true
 +
Thumbnails.Add "maxWidth", 100
 +
Thumbnails.Add "maxHeight", 100
 +
Thumbnails.Add "quality", 80</pre>
 +
{{CKFinder_2.x Thumbnail Description}}
 +
 
 +
== Scaling ==
 +
 
 +
{{CKFinder_2.x scaling description}}
 +
<pre>Set Images = server.CreateObject("Scripting.Dictionary")
 +
Images.Add "maxWidth", 1200
 +
Images.Add "maxHeight", 1200
 +
Images.Add "quality", 80
 +
Images.Add "component", "Auto"
 +
</pre>
 +
The component entry indicates the method that should be used to handle images and thumbnails. These are the possible values:<br>
 +
 
 +
*"Asp.Net", it should work with Asp.Net 1.1 and 2.0 without any extra software<br>
 +
*"Persits.Jpeg" Commercial component from Persits<br>
 +
*"briz.AspThumb" Commercial component from BRIZ Software
 +
*"AspImage.Image" Commercial component from ServerObjects. The available demo it's expired and doesn't seems to handle gifs properly<br>
 +
*"shotgraph.image", Commercial component from ShotGraph. The demo version doesn't allow resizing<br>
 +
*"Auto": It will try to autodetect which one is available, in the order described above. It's the default value, but for better performance you should state the component that you are going to use.<br>
 +
*"None": Image manipulation (thumbnails, maximum dimensions, validation) won't be available.<br><br>

Revision as of 13:11, 18 May 2010

Template:CKFinder 2.x image description

Thumbnails

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

Set Thumbnails = server.CreateObject("Scripting.Dictionary")
Thumbnails.Add "url", baseUrl & "_thumbs"
Thumbnails.Add "directory", baseDir & "_thumbs"
Thumbnails.Add "enabled", true
Thumbnails.Add "maxWidth", 100
Thumbnails.Add "maxHeight", 100
Thumbnails.Add "quality", 80

Template:CKFinder 2.x Thumbnail Description

Scaling

Template:CKFinder 2.x scaling description

Set Images = server.CreateObject("Scripting.Dictionary")
Images.Add "maxWidth", 1200
Images.Add "maxHeight", 1200
Images.Add "quality", 80
Images.Add "component", "Auto"

The component entry indicates the method that should be used to handle images and thumbnails. These are the possible values:

  • "Asp.Net", it should work with Asp.Net 1.1 and 2.0 without any extra software
  • "Persits.Jpeg" Commercial component from Persits
  • "briz.AspThumb" Commercial component from BRIZ Software
  • "AspImage.Image" Commercial component from ServerObjects. The available demo it's expired and doesn't seems to handle gifs properly
  • "shotgraph.image", Commercial component from ShotGraph. The demo version doesn't allow resizing
  • "Auto": It will try to autodetect which one is available, in the order described above. It's the default value, but for better performance you should state the component that you are going to use.
  • "None": Image manipulation (thumbnails, maximum dimensions, validation) won't be available.