Hi, 1st to say FCKeditor is great piece of software!
now, i would like to use fck's filebrowser to select image (file) from server in my form. So idea is that user rather than uploading image everytime, can first check (browse for one on server), and then if image is not found upload via filebrowser.
did anyone do something like that? Basicaly, i would like to have input field in my form and button which clicked would launch filebrowser which would then return file url to my form's input field.
Thanks in advance
Tomek
now, i would like to use fck's filebrowser to select image (file) from server in my form. So idea is that user rather than uploading image everytime, can first check (browse for one on server), and then if image is not found upload via filebrowser.
did anyone do something like that? Basicaly, i would like to have input field in my form and button which clicked would launch filebrowser which would then return file url to my form's input field.
Thanks in advance
Tomek
Re: how to extract filebrowser...
I was just looking for this same solution! The code is obviously there to open the pop-up window when the image button is clicked... and when the pop-up closes, the image URL is passed back to the parent window... so using this utility on a normal text box would be perfect for selecting a single image on a form!
Another option would be to put the editor into a mode such that you cannot edit the text box (seems odd doesn't it)... the image button would be the only button displayed... and upon selecting an image, the entire HTML source would be erased and the image would be insterted. (thus creating an editor text box that accepts nothing but one single image)
I'm going to figure this out on my own if I have to! But let me know if you find a solution first.
Looks like this post has the beginnings of an answer!...
viewtopic.php?f=5&t=48&p=93&hilit=+image#p93
YES! This works. I have the notes on how I was able to use the image browser with a general text field to upload/manage/select images on the web server!
Send me a message if you are interested in my notes.