-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi Zaak,
Sorry to add this as an issue here , when actually is an particular problem to be solved using your project.
I need to integrate CKEditor in our ASP.NET web form site using CKFinder to browse S3 repository. The repository should be changed if the user choose an option in a combo(actually the user will be allowed to see only some folders depending on the selected option). The only way I found to do this was by setting-up many s3 repositories in the web.config and use cookies to choose the repository in ConnectorConfig class.
..
instanceId = System.Web.HttpContext.Current.Request.Cookies["s3path"].Value;
if (instanceId == "1")
{
strCKFinderPrivate = "1";
imgPath = "test";
}
else
{
strCKFinderPrivate = "0";
imgPath = "images";
}
var defaultBackend = config.GetBackend(strCKFinderPrivate);
var keyValueStoreProvider = new FileSystemKeyValueStoreProvider(defaultBackend);
config.SetKeyValueStoreProvider(keyValueStoreProvider);
config.AddResourceType("Images", resourceBuilder => resourceBuilder.SetBackend(strCKFinderPrivate, imgPath));
Unfortunately I can't find the command to setup the thumbnails folder.
Could you please help me with this ?
Not sure is the best possible solution. Could you please recommend another solution for my problem.
Many thanks,
MihaelaI