Hi there,
I have another support request regarding the "resize on upload" function the comes with ckfinder. When I upload images via ckfinder through the advanced upload tool that opens by using the "browse server" button the resize function works fine. Uploaded images are scaled down to the size I have specified in the config.php per 'maxWidth' and 'maxHeight'.
But when using the "Qickupload" function (Upload tab in the image dialog) the images are not scaled. This is not very helpful for me because most users will use this way, as it is the more convenient way of uploading.
Can you tell me whether this resize function is supposed to be applied for Quickupload as well and if so, please give me some hints how to fix this problem?
thanks and best regards,
Hauke
I have another support request regarding the "resize on upload" function the comes with ckfinder. When I upload images via ckfinder through the advanced upload tool that opens by using the "browse server" button the resize function works fine. Uploaded images are scaled down to the size I have specified in the config.php per 'maxWidth' and 'maxHeight'.
But when using the "Qickupload" function (Upload tab in the image dialog) the images are not scaled. This is not very helpful for me because most users will use this way, as it is the more convenient way of uploading.
Can you tell me whether this resize function is supposed to be applied for Quickupload as well and if so, please give me some hints how to fix this problem?
thanks and best regards,
Hauke
Re: no image resize per quickupload
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: no image resize per quickupload
I use the Drupal module of the fckeditor and copied the ckfinder folder into the directory of the fckeditor module so the directory structure looks the following:
12.01.2009 18:34 <DIR> .
12.01.2009 18:34 <DIR> ..
13.12.2008 00:25 8.263 CHANGELOG.txt
12.01.2009 18:20 <DIR> ckfinder
12.01.2009 18:25 <DIR> fckeditor
06.01.2009 21:59 5.599 fckeditor.config.js
06.11.2008 16:28 491 fckeditor.css
13.12.2008 01:00 310 fckeditor.info
04.12.2008 17:41 13.278 fckeditor.install
12.01.2009 20:01 102.180 fckeditor.module
01.12.2008 19:17 3.456 fckeditor.popup.html
30.10.2007 14:42 252 fckeditor.popup.js
12.12.2008 21:28 5.248 fckeditor.utils.js
23.05.2008 11:06 3.825 filemanager.config.php
13.12.2008 00:25 2.847 img_assist_fckeditor.js
23.04.2006 10:54 14.940 LICENSE.txt
06.01.2009 21:56 <DIR> plugins
27.12.2008 20:15 <DIR> po
08.10.2008 13:04 13.621 README.txt
19.11.2008 10:50 13.123 TROUBLESHOOTING.txt
16 archivos 392.092 bytes
So I am using v1.3.1 for PHP and I integrated the ckfinder into the fckeditor with the following lines in fckeditor.js
As I said the integration works fine for the advanced mode via "browse server". Only via Quickupload no resize takes place.
I hope you can help me out.
Thanks and regards,
Hauke
Re: no image resize per quickupload
- compress the modules/fckeditor directory (with fckeditor module, fckeditor, ckfinder) and send me a PM with a link to it (or send me it via mail: wiktor [at] fckeditor [dot] net).
- let me know what are your "File browser settings"
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: no image resize per quickupload
I've just send you an eMail with my fckeditor drupal module folder including fckeditor and ckfinder. My file browser settings are as follows:
Allow basic file management: true
Allow advanced file management: true
Path to uploaded files: Setting relative path to uploaded files has been disabled because private downloads are enabled and this path is calculated automatically.
Absolute path to uploaded files: Setting path to uploaded files has been disabled because private downloads are enabled and this path is calculated automatically.
I hope this information helps for further investigation.
Many Thanks and best regards,
Hauke
Re: no image resize per quickupload
The problem was within the fckeditor.module file for the drupal integration.
The following explanation was sent to me from wiktor:
So I removed the "$js .=" within the "$basic_uploads" code block and now the integration works for QuickUpload as well.
thank to wiktor again and best regards.
Hauke