When i use FCKeditor-2.1(JAVA)and FCKeditor_2.0fc,I upload a image.Then I add the image into the content.It can create the code src="/FCKeditor/UserFiles/Image/22/card.jpg",it is a relative path. But I want is to be src=http://localhost:8080/FCKeditor/UserFiles/Image/22/card.jpg auto.This is a absolute path.I don't konw how to change it.So I want to get help.
Fri, 06/17/2005 - 10:21
#1
RE: I want the image whit absolute path.
Open fckconfig.js and find this line:
FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ;
Change to:
FCKConfig.SmileyPath = FCKConfig.FullBasePath + 'images/smiley/msn/' ;
RE: I want the image whit absolute path.
sure that is right?!
i guess that smileyPath means PATH to smileys...
btw: / is a wildcard for for docroot so that path above is already absolute not relative (put it anywhere else and it will still point to the same spot...)