Having problems getting images to display within FCKEditor within ASP.NET website -


I have a problem with the FCKEditor HTML editor for ASP.NET, while trying to insert an image inside the editor I got a "page not found" error by clicking on "browse server" in the Image Properties dialog and I want to get it to show all the files in the "Pictures" folder.

The website is set up as follows: -

  \ root - \ asp.net standard folders etc ... - \ Images - \ FCKEditor - includes all javascript etc. - - Default.aspx - has FCKEditor control in it  

I have tried setting ImageBrowserURL in different settings such as "/ images" but this image does not return the correct path to the folder .

Any thoughts?

I think the problem is that 'ImageBrowserUrl' does not point to the path where your image The files remain, this indicates the path where the actual file browser is located - You do not want to change this setting, make sure that you've set the _FileBrowser language and _QuickUpload for 'aspx' in fckconfig.js.

To set the path to your image files, add the following to your web.config:

  & lt; App settings & gt; & Lt; Add key = "FCKeditor: UserFilesPath" value = "/ picture /" /> & Lt; / AppSettings & gt;  

The url website is relative to root, default / userfiles / used by fckeditor.

Hope it helps.


Comments