Solved

FCKEditor image upload - coldfusion

Posted on 2006-10-21
1
866 Views
Last Modified: 2013-12-16
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
0
Comment
Question by:tubize
1 Comment
 

Accepted Solution

by:
MichaelEvangelista earned 125 total points
ID: 17781748
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/">

/////////////////////////////////////////////////
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about problems I had with the new location API and permissions in Marshmallow
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now