Hi,
I'm working on a CMS for a client. Is there a way to have the image re-sized depending on the instance of ckfinder? I have a field for signatures that I would like to be re-sized to 150px X 200px and a field for profiles that I would like to be re-sized to 150px X 150px upon upload.
I am working in php. If there is a way to do this it would be great!
Thanks in advance for any help with this!
J
I'm working on a CMS for a client. Is there a way to have the image re-sized depending on the instance of ckfinder? I have a field for signatures that I would like to be re-sized to 150px X 200px and a field for profiles that I would like to be re-sized to 150px X 150px upon upload.
I am working in php. If there is a way to do this it would be great!
Thanks in advance for any help with this!
J
Re: Multiple Image resizes
Hi,
this option in config.php set maximum size of image. So if image is larger than this it will be resized during uploading.
To set different settings for CKFinder instance depending on your application you have to use http://docs.cksource.com/ckfinder_2.x_a ... g.html#.id variable. Your application should pass this id via $_GET or $_SESSION and set
config variable depending on passed argument.