Hello everyone,
I am using the FCKEditor in a CMS that I have made. I have a slight problem. The page on which the editor resides is in a different directory than where the edited HTML page resides.
This means that the path of the image is different when viewing the page inside editor from the actual page. As a result the image is displayed correctly on the actual page, but not in the editor.
This seems like such a common problem, yet I can't get it to work. I've juggled with the paths (I'd like to keep them relative to the document) but nothing seems to work.
Is there an easy way out of this?
Thanks very much for your help!
Maurits
I am using the FCKEditor in a CMS that I have made. I have a slight problem. The page on which the editor resides is in a different directory than where the edited HTML page resides.
This means that the path of the image is different when viewing the page inside editor from the actual page. As a result the image is displayed correctly on the actual page, but not in the editor.
This seems like such a common problem, yet I can't get it to work. I've juggled with the paths (I'd like to keep them relative to the document) but nothing seems to work.
Is there an easy way out of this?
Thanks very much for your help!
Maurits

Re: Image not showing in editor
I've got exactly the same trouble. I can't get images displayed properly in the editor. Howerver, they are displayed well in the internet page created with the editor... I don't understant, anyhelp is very welcome !
Swann
Re: Image not showing in editor
$oFCKeditor->Value = file_get_contents('/path/to/www/other/directory/page.html);http://wiki.fckeditor.net/Developer's_Guide/Configuration/Configurations_Settings
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Image not showing in editor