Preview: userguide.txt
Size: 1.33 KB
/home/jambtst2015/www/ckeditor/plugins/image/userguide.txt
1) add this line in config.js===(ckeditor/config.js)
config.extraPlugins = 'image';
function should be look like:
CKEDITOR.editorConfig = function( config ) {
config.extraPlugins = 'image';
config.filebrowserUploadUrl = 'http://www.example.com/project/ckeditor/ckupload.php';
};
2)add this line in that config.js
config.filebrowserUploadUrl = 'http://localhost/[ckeditor_folder_path]/ckeditor/ckupload.php';
{{{ for eg: config.filebrowserUploadUrl = 'http://www.example.com/project/ckeditor/ckupload.php'; }}}
(note: This path should be absolute path and that .php file must be keept outside of your framework. this is nothing but a picture upload script)
3) Change the $url value in your ckupload.php page. there are only two place where u have to change the path. that path is where the picture should
be moved.
i)for the 1st url : suppose u have the directpre of picture upload outside of your ck editor folder,then path should be like this ../your_folder_name.
ii)second url : the '..' should be replaced by the exact path. for eg: $url = str_replace('../', 'http://www.example.com/project/', $url);
4)goto ckeditor->plugins->capture->imageCapture.php
chage the path to your exact path
5)goto ckeditor->capture->imageCapture.php
chage the path to your exact path
here u go......... enjoy
Directory Contents
Dirs: 4 × Files: 2