FCKeditorImage Properties
http://website/GetImage.ashx?isk=127
232|2ndMeeting.jpg
Config.ascx
BaseUrl = "~/GetImage.ashx?isk=";
FCKeditorImage Properties
/website/GetImage.ashx?isk=images/232%7C2nd%20Meeting.jpg"
CKFinder
ckfinder_ie.js
* I am prepared to share my finished code with the CKFinder team in return for some assistance. *

Re: CKFinder, ASP.Net and images in SQL Server
In the worst scenario you'll end up with:
232_file_with_underscore.jpg
where searching for first occurrence "_" will work as well.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CKFinder, ASP.Net and images in SQL Server
ckfinder_ie.js
Re: CKFinder, ASP.Net and images in SQL Server
You don't need to touch the js code, just the values that you set in the config for the paths returned and always use your id instead of a filename.
Re: CKFinder, ASP.Net and images in SQL Server
Here's an example of what I want to see in the CKFinder window i.e. thumbnail and filename:
And here's what I want returned to FCKEditor image properties window when an image is chosen in CKFinder:
There seem to be a few settings files and I was trying to step through what was being used where in the js code. I show what seems to be the main one below -- config.ascx -- but there is also one in the connector DLL template I copied -- Settings/ConfigFile.cs -- whose relevance I still don't quite understand.
My modifications to config.ascx:
My modifications to GetFilesCommandHandler.cs:
... protected override void BuildXml() { ... SiteStructureDataContext dc = new SiteStructureDataContext(connectionString); var images = from p in dc.ImageStores orderby p.Filename select new { p.ImageStoreKey, p.Filename, p.SizeInBytes }; foreach (var img in images) { XmlNode oFileNode = XmlUtil.AppendElement(oFilesNode, "File"); XmlUtil.SetAttribute(oFileNode, "name", img.ImageStoreKey.ToString() + "|" + img.Filename); XmlUtil.SetAttribute(oFileNode, "date", System.DateTime.Now.ToString("yyyMMddHHmm")); XmlUtil.SetAttribute(oFileNode, "size", img.SizeInBytes.ToString()); } }Attachments:
Re: CKFinder, ASP.Net and images in SQL Server
http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Customization/Scripts_Compression
Re: CKFinder, ASP.Net and images in SQL Server
also did you manage to do this with the current version of fckeditor 2.6.3?
are you able to upload a small snipet of your upload method to sql server etc...
i'm looking for an exact solution also, trying to upload and download files to a sql server, but haven't got a clue were to begin
cheers
sync