Hi,
I apologize if this answer exists on the forums already. I am trying to integrate CKFinder into an ASP.NET 4.0 site. I have it running and able to browse files and see the thumbnails show in the UI. When I select the file to include into CKEditor, the URL doesn't match where the file is actually stored and creates a broken image path.
My configuration is setup as such:
I can see the image and thumbnail get stored in /StaticFiles/ but a thumbnail is also produced under /UI/UserControl/Html/ckfinder/_thumbs/ however I'm not exactly sure why it is in both places.
After selecting a file (e.g., test.gif) from CKFinder, the URL shows as:
/UI/UserControl/Html/ckfinder/images/test.gif
Any ideas on what it doesn't try to resolve to the correct URL where the image is actually stored. Can I actually have the files in a directory outside of the ckfinder directory ?
Thanks in advance
I apologize if this answer exists on the forums already. I am trying to integrate CKFinder into an ASP.NET 4.0 site. I have it running and able to browse files and see the thumbnails show in the UI. When I select the file to include into CKEditor, the URL doesn't match where the file is actually stored and creates a broken image path.
My configuration is setup as such:
BaseUrl = "/UI/UserControl/Html/ckfinder/"; BaseDir = Server.MapPath("/StaticFiles/");
I can see the image and thumbnail get stored in /StaticFiles/ but a thumbnail is also produced under /UI/UserControl/Html/ckfinder/_thumbs/ however I'm not exactly sure why it is in both places.
After selecting a file (e.g., test.gif) from CKFinder, the URL shows as:
/UI/UserControl/Html/ckfinder/images/test.gif
Any ideas on what it doesn't try to resolve to the correct URL where the image is actually stored. Can I actually have the files in a directory outside of the ckfinder directory ?
Thanks in advance
Re: Storing files outside of the CKFinder folder
Yes this is possible, but remember that CKFinder should have access (read , write) to this directory.
About rest of you problem please try set baseDir for directory that baseUrl points or leave it blank.
Please check if that helps.