Scaling"

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: {{Ckfinder scaling description}} <pre>Set Images = server.CreateObject("Scripting.Dictionary") Images.Add "maxWidth", 1200 Images.Add "maxHeight", 1200 Images.Add "quality", 80 Images.Add ...)
 
(describe the image component option)
Line 5: Line 5:
 
Images.Add "quality", 80
 
Images.Add "quality", 80
 
Images.Add "component", "Auto"
 
Images.Add "component", "Auto"
</pre>
+
</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<br>
 +
* "Persits.Jpeg" Commercial component from Persits<br>
 +
* "AspImage.Image" Commercial component from ServerObjects. The available demo it's expired and doesn't seems to handle gifs properly<br>
 +
* "OWC10.ChartSpace", Microsoft Office Web Components, it won't keep the proportions of the scaled images<br>
 +
* "Auto": It will try to autodetect which one is available, in the order described above. It's the default value.<br>
 +
 
 +
<br>

Revision as of 22:48, 10 January 2008

The scaling option gives you an oppurtunity to specify the maximum size of uploading images. If the size is bigger than the one specified by you, the image size will be scaled to your size values.

You may also change the quality of uploading images in a range from 1 to 100. To apply these options you should change values in this section:

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
  • "Persits.Jpeg" Commercial component from Persits
  • "AspImage.Image" Commercial component from ServerObjects. The available demo it's expired and doesn't seems to handle gifs properly
  • "OWC10.ChartSpace", Microsoft Office Web Components, it won't keep the proportions of the scaled images
  • "Auto": It will try to autodetect which one is available, in the order described above. It's the default value.