php - cakphp 2.0 file browser/uploader with CKEditor -
i using ckeditor in cakephp 2.0 application. have installed in app/webroot/js/ckeditor directory.
ckeditor showing image upload option , configured these lines in config.js
config.filebrowserimagebrowseurl = '/app/webroot/ckeditor/pictures/'; config.filebrowserimageuploadurl = '/app/webroot/ckeditor/pictures/';
now, image upload interface looks fine, when click on "send server" button, image doesn't upload folder path
?
note :what next step upload images folder?
you must link them uploder
like this
config.filebrowserbrowseurl = base_url + 'filebrowser/browse.php?type=files'; config.filebrowserimagebrowseurl = base_url + 'filebrowser/browse.php?type=images'; config.filebrowserflashbrowseurl = base_url + 'filebrowser/browse.php?type=flash'; config.filebrowseruploadurl = base_url + 'filebrowser/upload.php?type=files'; config.filebrowserimageuploadurl = base_url + 'filebrowser/upload.php?type=images'; config.filebrowserflashuploadurl = base_url + 'filebrowser/upload.php?type=flash';
Comments
Post a Comment