Hi,
I’ve been using ckfinder which is brilliant but i want to have the image resize. The functionality seems to be there but i don’t know how to make it only affect the editor i am on not the main config page for everything. http://docs.cksource.com/CKFinder_2.x/Developers_Guide/PHP/Configuration/Images. i.e. i don’t want to resize all of my images to X by X, some i might not want to resize at all.
this is the code from the above link
$config['Images'] = Array(
'maxWidth' => 1600,
'maxHeight' => 1200,
'quality' => 80);
but i don’t know how to write that into the page instance. this is the code i use in the page to call the uploader
function BrowseServer()
{
// You can use the "CKFinder" class to render CKFinder in a page:
var finder = new CKFinder();
finder.basePath = '../../ckeditor/ckfinder/'; // The path for the installation of CKFinder (default = "/ckfinder/").
finder.selectActionFunction = SetFileField;
finder.popup();
}
any ideas how to integrate it? i’ve done a google search but can only find a bit of script where someone has made it so in the config it will only resize if you choose certain folders but if poss i’d prefer to define it as and when.
any help appreciated. thanks