I know that the image absolute/relative path topic has been done to death, but this appears to be something that hasn't been mentioned specifically yet. I'm using the latest FCKEditor 2.3.2, and the problem affects IE6 and 7, but not Firefox 1.5 or 2.
I am using FCKEditor as part of a ASP.NET 2.0 CMS that I've built. I've set a custom UserFiles path using the web.config file:
<add key="FCKeditor:UserFilesPath" value="/files/" />
This works as expected - I can upload images and files to this directory via the image/link browsers, and now have a directory of images at /files/Image/ (relative to the root, which is http://localhost:82/). So when I insert an image into the editor using the browser, it displays perfectly happily in the editor when I'm using Firefox, with a path of <img src="/files/Image/test.jpg" alt="" />. I save the page and the image displays on the rendered page just as it should.
However, if I use IE6 or 7 to do my editing, I get the 'image not found' red cross replacing my image. Looking at the source, the path is still the same - "/files/Image/test.jpg" - relative to the root. Of course this file exists. And if I change the path to absolute; i.e. "http://localhost:82/files/Image/test.jpg", it displays correctly. But this is not what I want to have to do, as the code then ceases to be transportable. Besides, it's obviously a bug in FCKeditor/FredCK which needs fixing. The code is looking for the image in the wrong place when I'm using IE.
IE6/7: editor won't display root-relative img