Hi All,
I'm using the latest FCKeditor.Net_2.2 & FCKeditor_2.3.2.
I can see my custom defined UserFilesPath folder via WebConfig file as shown below
<add key="FCKeditor:UserFilesPath" value="../../../../../../../../User_Data/" />
and with using the var _FileBrowserLanguage= 'aspx' option in the fckconfig.js
I am able to view the image files in my User_Data folder
However, after clicking the image filename, ex: Waterlilies.jpg, here's what I get in the
URL textbox: ../../../../../../../../User_Data/Image/Waterlilies.jpg
It looks correct at first, however, it is not.
Because relative to the aspx page that contains the FCKEditor control, the folder
../../../../../../../../User_Data is way out of my root project directory folder, thus
all images returned are empty.
My working directory structure is as follows:
-->RootAspxWebProjectFolder
------>Aspx_Data
----------->Cms
--------------->AspxPageThatContainsTheFckEditorControl.aspx
------>Script_Data
----------->FCKeditor (BasePath)
--------------->editor
------>User_Data
----------->Image
--------------->Waterlilies.jpg
Note, again, I am able to see Waterlilies.jpg in the Browse Server dialog box,
but its the return image url value is wrong.
Thanks
Henry
Sun, 11/26/2006 - 17:52
#1
RE: img url returns the wrong path