How can I set CKEditor to always display the Absolute URL vs the Relative URL. I select an image using the CKFinder interface. In the Image Properties Window > URL Field after selecting an image it shows the relative url path. I would like it to show the absolute http url. i.e. Display http://www.yourdomain.com/directory/image.jpg rather then /directory/image.jpg I'm using CKEditor 3.0.1 and CKFinder 1.4.1.1 for Coldfusion.Thanks, Warren
Tue, 11/17/2009 - 22:47
#1
Re: CKEditor Image Properties Absolute URL vs Relative URL
I found the answer to my question by simply researching and testing.
The settings I needed to make were in the /ckfinder/config.cfm file.
Both config.baseURL and config.baseDir needs to be configured.
i.e.
config.baseUrl = "http://www.yourdomain.com/assets/images/";
config.baseDir = 'd:\inetpub\wwwroot\www.yourdomain.com\website\assets\images\';