Hi all,
I found in the documentation and see the below code can help to show the upload tab in image button
But my question is, where can i '/browser/browse.php' and '/uploader/upload.php'
Or it is made on my own ??
Thanks
I found in the documentation and see the below code can help to show the upload tab in image button
CKEDITOR.replace( 'editor1', { filebrowserBrowseUrl : '/browser/browse.php', filebrowserUploadUrl : '/uploader/upload.php' });
But my question is, where can i '/browser/browse.php' and '/uploader/upload.php'
Or it is made on my own ??
Thanks
Re: File Browser (Uploader)
See http://docs.cksource.com/CKEditor_3.x/H ... e_Uploader
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: File Browser (Uploader)
Hi,
After I read the documentation create a custom file browser or use an existing one, I still not really sure how to get it work.
1. Do I need to create a new folder on plugin and name it as "filebrowser"?
2. I copy the code from http://docs.cksource.com/ckeditor_api/s ... in.js.html and remove all numbering then save it as plugin.js under filebrowser folder
3. Do i need to insert the code below into the config.js?
Can anyone provide the details steps showing how to implement this for a newbies like me to follow?
Thanks in advance for helping and instructions
Re: File Browser (Uploader)
OK, I finally figure it out how to make it work. Share on here so anyone who have the same question like me will be able to get it work.
1. Create a new folder under "plugin" and name it as "filebrowser"
2. Copy the js script from http://docs.cksource.com/ckeditor_api/symbols/src/plugins_filebrowser_plugin.js.html
3. Save the js script into "filebrowser" and name it as plugin.js
4. On your Textarea html code add your code. Below is my own code as sample
if you want only the Upload image and do not want the Browse Server, then remove this line
So your code should be look like this
Try it out
Re: File Browser (Uploader)
Recently I figure out how to get upload.php to work, I believed there are still someone not sure and keep searching on this. So I decided to share it with everyone. (I only did upload.php, not yet try browser.php)
1. Create a new php file and save it as upload.php
2. PHP code should be something like below
This is just an idea for you how does it work, you might need to add more code on image procedures. Try it out.
Re: File Browser (Uploader)
after i use your code
when i try to click upload, it will prompt a save as box which is calling my upload.php
did i miss out sth?
I used your php and change the domain
Hello There,
Hello There,
Has anyone figured out what would come in broser.php?
I have done the upload function, but not getting how to use browser.php.
Kindly help me if anyone knows.
thanks.
Hello everyone,
Hello everyone,
I'm done with the code given above. But when I click upload, something calls for upload.php. And can anyone show me the way to use browser.php.
Thanksfully.
Hello Carter,
Hello Carter,
You need to create upload.php file. In this file you will recieve posted data when someone click on button send it to server. So, store your image from this file.
Below is example of upload.php file code.