I am currently working to integrate CKFinder with CKEditor. Its fully functional however I have reached a snag.
I have configured the integration as per instruction in the tutorials. I used the approach where i configure the CKEditor instance to use CKFinder, instead of the other way around. (through the usage of the filebrowserBrowseUrl configuration option).
The site im running is an asp.net mvc app running in IIS7. The root application path is e.g. http://mywebsite.com/app
I configured CKFinder to use as baseUrl: "/Content/upload/". This works fine. However now when I use CKFinder to select an image in the Image dialog in CKEditor, it returns with "/Content/upload/etc../image.jpg"
Which is wrong, i need the url to be "/app/Content/upload/...." I already tryed changing the baseUrl but that only breaks the CKFinder.
So the question is how can i configure CKFinder to return a file with the right url ?
Im guessing im overlooking some setting or something, but iv'e been at this for quiet some time now and i was hoping someone could shed some light on this.
Tue, 09/14/2010 - 16:31
#1
Re: Changing baseurl for images selected by CKFinder
Solved it by setting the BaseUrl to "~/Content/upload/".
See, i was overlooking something