Okay, this image path problem is driving me crazy. It appears that my directory structure is not exactly as FCKEditor wants it to be.
The problem I'm having is that images (using relative paths) don't show up in the edit area but they do show up in the image preview. Why would they show up in the preview and not in the edit area?
My path structure:
ROOT FOLDER - FILE SYSTEM:
D:\Dev\project_x\www\
ROOT FOLDER - URL:
http://localhost:8500/project_x/www/
IMAGE FOLDER - FILE SYSTEM:
D:\Dev\project_x\www\contentfiles\
IMAGE FOLDER - URL:
http://localhost:8500/project_x/www/contentfiles/
FCKEDITOR FOLDER - FILE SYSTEM:
D:\Dev\project_x\www\RCMSExtras\FCKeditor_2.2\
FCKEDITOR FOLDER - URL:
http://localhost:8500/project_x/www/RCM ... ditor_2.2/
I generate the editor as follows:
function OpenWindow (width, height) {
var oFCKeditor = new FCKeditor('layoutData');
oFCKeditor.BasePath = 'http://localhost:8500/dev/tvrcamp/www3/RCMSExtras/FCKeditor_2.2/';
oFCKeditor.Config ['BaseHref'] = 'http://localhost:8500/dev/tvrcamp/www3/';
oFCKeditor.Config ['UserFilesPath'] = 'http://localhost:8500/dev/tvrcamp/www3/contentfiles/';
oFCKeditor.ReplaceTextarea();
return (true);
}
Thu, 05/25/2006 - 18:21
#1
RE: Image Paths HELP!!! (more info)
RE: Image Paths HELP!!!
RE: Image Paths HELP!!!
Problem actually, not in relative path in FireFox, problem _in_path. Just setup javascript alert to understand. U will wonder what path u will get. I spent half of day trying to find correct path to make browser work on my host-company. But with no success. The problem in all "concept" of pathes of fckeditor, because it works with "absolute" paths, but not relative.
If u will set alert for path u will see something like this:
"/wip/libs/js/fckeditor/editor/dialogs/../../filemanager/default/browser.html" and etc.
Do u see where your "../../" are placed? Actually it's no correct path. Simple Explorer uses few hacks in differ places. The one place we can see here.
RE: Image Paths HELP!!!
Or, maybe, i'm wrong and something throught configs this problem can be resolved, but no documentation. But i'm sure that not. Problem in other.
RE: Image Paths HELP!!!
Well, the next issue will proble solve someone's problems. Maybe not - depends on problem actually.
http://sourceforge.net/tracker/index.ph ... tid=543653