Hello.. Would it possible to automatically scale only files in certain folders? For example, my website has folder for images, and folder for photo gallery images. I'd like only images uploaded into the photo gallery folder to be scaled.
Is this possible to configure via the config file? Or, would it be relatively easy to modify the PHP? If this can be done by changing the source, could you point me in the right direction?
Alternatively, it would be nice to have a checkbox option before uploading that says "Resize this image after uploading".
Thanks so much.
Ryan
Is this possible to configure via the config file? Or, would it be relatively easy to modify the PHP? If this can be done by changing the source, could you point me in the right direction?
Alternatively, it would be nice to have a checkbox option before uploading that says "Resize this image after uploading".
Thanks so much.
Ryan
Re: Scale certain images?
core\connector\php\phpN\CommandHandler\FileUpload.php
find the following line:
in function sendResponse().
Use either $sFilePath or $sServerDir to check for the right folder.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Scale certain images?
Ryan