I'm an ASP.Net developer and am trying to create a custom connector to access images stored in a binary column in a SQL Server database.
Some success so far, however currently having problems returning a working URL for my site to the FCKeditor's Image Properties dialog. I use a .ashx handler so my image paths look like this:
where "127" is the primary key to my image store table. i have written some code in my connector classes to prepend the filename with the primary key and a pipe character like this:
And I strip that off in my thumbnails class in order to return a thumbnail from the database. This is working fine.
The trouble returning a URL to the image. My approach has been to change the BaseUrl setting in Config.ascx like so:
BaseUrl = "~/GetImage.ashx?isk=";
But I end up with a URL like this in the FCKeditor's Image Properties dialog:
Does anyone have suggestions? I'm trying not to butcher the core classes to preserve the upgrade path for CKFinder.
* I am prepared to share my finished code with the CKFinder team in return for some assistance. *