Hi,
does anybody know how to define a maxWidth and maxHeight for a specific RessourceType or folder?
I have 2 Folders with Images and in one of them there should be only images with 150x150 px
in the other folder the images can have a higher resolution
thanks for help
does anybody know how to define a maxWidth and maxHeight for a specific RessourceType or folder?
I have 2 Folders with Images and in one of them there should be only images with 150x150 px
in the other folder the images can have a higher resolution
thanks for help
Re: maxWidth for RessourceType
$config['_RESOURCE_FOLDER_'] = Array(
'maxWidth' => 150,
'maxHeight' => 150,
'quality' => 80);
Oli
Re: maxWidth for RessourceType
for each resource type?
It is not implemented in CKFinder, however because config file is a server side script, you can actually easily do it by checking the query string.
Sample change for PHP version of CKFinder:
The solution suggested by olirav will not work.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+