We help IT Professionals succeed at work.

FCKEditor image upload - coldfusion

tubize
tubize used Ask the Experts™
on
I feel kind of silly asking this question but I do not see where you tell FCKEditor what folder that you want it to upload an image to. When I try to upload an image, it should start by displaying the files that are already in that directory and then give me a choice of uploading an image from my pc. I cannot get it to display the images on my server.
How is this done?

Thanks

John
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi John -
I just set up the new version of FCK for the first time myself , for use in a ColdFusion form.

Read this page : http://wiki.fckeditor.net/Developer%27s_Guide/Integration/ColdFusion

Scroll down, and you will see

/////////////////////////////////////////////////
Changing the default userfiles directory:

- Create a new file called Application.cfm and save it in the root directory of your application. If you already have an Application.cfm file you can use that one of course.

If you only need 1 UserFiles directory, add the following to you Application.cfm file (pick 1):

<cfset request.FCKeditor = StructNew()>
<cfset request.FCKeditor.userFilesPath = "/myApplication/FCK_TEST1/UserFiles/"> (or whatever other directory you want to use)

OR

<cfapplication name="FCKeditor_samples"> (Only add this if you don't already have a cfapplication tag)
<cfset application.FCKeditor = StructNew()>
<cfset application.FCKeditor.userFilesPath = "/myApplication/FCK_TEST1/UserFiles/">

/////////////////////////////////////////////////