Hi,
I have been struggling around for a time with the relative and absolute paths of the images.
I am testing the FC version of FCKeditor on a Windows2000 platform (IIS) with the mcpuk's filebrowser (php) With the default configuration values the editor works fine (locally). The only thing I would like to change is the path of the images. It now points to: http://localhost\FCKeditor\UserFiles/Image/image1.jpg
and I would like to point it to: UserFiles/Image/image1.jpg
In this way it would be easy to change the hosting of the site.
(see also SF Feature-1088608) This problem has been solved introducing the BaseHref property, they say. But that doesn't seem to work (at least in my case).
In the URL box it writes the absolute path:
http://localhost\FCKeditor\UserFiles/Image/image1.jpg
and changing it to UserFiles/Image/image1.jpg the image is not shown in the preview (the image does exist in the UserFiles/Image directory)
The structure of my site is:
(C:/inetpub/wwwroot/)
localhost
-folder FCKeditor
- folder editor
- folder Userfiles
- folder Image
- image1.jpg
- document sample.php
Could anybody help me? Where do I have to configure the settings?
In the fckconfig.js document? Like:
FCKConfig.BaseHref = 'http://localhost/' ;
In the php document that has the editor? Like:
$oFCKeditor->BaseHref = 'http://localhost/';
And what about the BasePath property?
I am a little bit lost.
Thanks in advance.
Rob
Thu, 05/12/2005 - 07:07
#1
RE: Is BaseHref working ok?
Arek