Solved

FCKEditor image upload - coldfusion

Posted on 2006-10-21
1
878 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
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. …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

785 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