Hello
I have integrated CKFinder with CKEditor. Each is working individually however if I "Browse Server" from CKEditor and select a file the URL is not passed to the CKEditor "Image Properties" window.
If I select OK from this point (in CKEditor "Image Properties" window) I get the following error message "Image source URL is missing."
My folder structure is -
[my site url]/cms/ckeditor
[my site url]/cms/ckfinder
[my site url]/userfiles/
ckfinder/config.php is left as default except for these settings -
CKEditor is called from this file -
[my site url]/cms/youreditor.php
with the following code -
As stated both work perfectly - it is just this connection that is not working for me. Any help is appreciated.
Regards,
TIM
I have integrated CKFinder with CKEditor. Each is working individually however if I "Browse Server" from CKEditor and select a file the URL is not passed to the CKEditor "Image Properties" window.
If I select OK from this point (in CKEditor "Image Properties" window) I get the following error message "Image source URL is missing."
My folder structure is -
[my site url]/cms/ckeditor
[my site url]/cms/ckfinder
[my site url]/userfiles/
ckfinder/config.php is left as default except for these settings -
$baseDir = '/home/9-web/96/b2/[my site url]/public/www/userfiles/'; $baseUrl = '/userfiles/';
CKEditor is called from this file -
[my site url]/cms/youreditor.php
with the following code -
CKEDITOR.replace( 'editor1', { filebrowserBrowseUrl : '/cms/filemgr.inc.php', filebrowserImageBrowseUrl : '/cms/filemgr.inc.php?type=Images', filebrowserFlashBrowseUrl : '/cms/filemgr.inc.php?type=Flash', filebrowserUploadUrl : '/cms/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files', filebrowserImageUploadUrl : '/cms/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images', filebrowserFlashUploadUrl : '/cms/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash' } );
As stated both work perfectly - it is just this connection that is not working for me. Any help is appreciated.
Regards,
TIM
Re: CKFinder not passing selected image URL to CKEditor
What version of CKFinder, CKEditor are you using and in what browser/OS did that happen?
Could you paste here some code how exactly are you creating CKFinder instance?
Does that example work on your computer: _samples/js/ckeditor.html ?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CKFinder not passing selected image URL to CKEditor
The example you referred to has sorted out the problem (_samples/js/ckeditor.html).
I have now used this code -
instead of this code -
Which has solved my issue - not sure what was causing my problem before but thank for pointing me in the right direction.
Regards - Tim