(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 ...) |
m (moved CKFinder/Developers Guide/ASP/Configuration/Images/Scaling to CKFinder 1.x/Developers Guide/ASP/Configuration/Images/Scaling) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{Ckfinder scaling description}} | + | {{Ckfinder scaling description}} |
<pre>Set Images = server.CreateObject("Scripting.Dictionary") | <pre>Set Images = server.CreateObject("Scripting.Dictionary") | ||
Images.Add "maxWidth", 1200 | Images.Add "maxWidth", 1200 | ||
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 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> | ||
+ | |||
+ | <br> |
Latest revision as of 07:46, 28 May 2010
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 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.