When I upload image or use any of the function in the Image properties window the path that is being used to upload,link, or preview is something like this /userdefinedvalue/Image/admin1.gif.
I understand that I can control the userdefinedvalue
part but how do I remove the Image part of the path.
I found the url.type variable in the FCKeditor\editor\filemanager\upload\cfm\upload.cfm
This looks like it controls where the file is being upload but I can't figure out what I need to change for the link and preview functions. These two functions are still looking for the path with the Images directory(/userdefinedvalue/Image/admin1.gif).
So that the new path would look like /userdefinedvalue/admin1.gif.
I’m using the cfm version.
I understand that I can control the userdefinedvalue
part but how do I remove the Image part of the path.
I found the url.type variable in the FCKeditor\editor\filemanager\upload\cfm\upload.cfm
This looks like it controls where the file is being upload but I can't figure out what I need to change for the link and preview functions. These two functions are still looking for the path with the Images directory(/userdefinedvalue/Image/admin1.gif).
So that the new path would look like /userdefinedvalue/admin1.gif.
I’m using the cfm version.

RE: Changing Default Image Path
I'm working on it also, this is really a PITA.
I made it with version 2.0 rather easily, but it looks like it is much more complicated with version 2.2.
This is really a poor design decision.
FCKEditor is supposed to be integrated with existing applications, so it shouldn't impose ITS directory structure, but work with the application's.
RE: Changing Default Image Path
Thanx in advance.
RE: Changing Default Image Path
1. frmresourcetype.html
changed all Image to Images
var aTypes = [
['File','File'],
['Image','Image'],
['Article','Article'],
['Category','Category']
] ;
2. connector.php
changed the Image to Images
if ( !in_array( $sResourceType, array('File','Image','Flash','Media') ) )
3. fckconfig.js
changed the Type=Image to Type=Images
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
very clean and easy
good luck
RE: Changing Default Image Path - correction
In step two the array is:
var aTypes = [
['File','File'],
['Image','Image'],
['Flash','Flash'],
['Media','Media']
] ;
so, all Image change to Images !
RE: Changing Default Image Path
http://www.myurl.com/images/
RE: Changing Default Image Path
http://sourceforge.net/tracker/index.ph ... tid=543655