We use CKFinder for Classic ASP (VbScript)
Currently we have set the images scaling using Persits.Jpeg
Here is what this part of our config.asp code looks like :
But in some context in the same web app, we want to have ckfinder to resize images to a different maximum width. How is that possible ? We don't find where we can override the settings from config.asp.
Thank you
Currently we have set the images scaling using Persits.Jpeg
Here is what this part of our config.asp code looks like :
Set Images = server.CreateObject("Scripting.Dictionary") Images.Add "maxWidth", 1600 Images.Add "maxHeight", 32767 ' max for a type INT in ASP which is used in ckfinder code for image config Images.Add "quality", 80 Images.Add "component", "Persits.Jpeg"
But in some context in the same web app, we want to have ckfinder to resize images to a different maximum width. How is that possible ? We don't find where we can override the settings from config.asp.
Thank you
Re: Dynamic configuration of images scaling
You can specify a different id for each situation and in the config.asp switch between the different widths based on request("id")
for javascript integration:
http://docs.cksource.com/ckfinder_2.x_a ... onfig.html