Just to make sure I'm not crazy, I'll ask some other folks to check this on their installations and see if I'm correct on this:
Messing around a bit today, I seem to have run across something odd and that I don't much care for -
In the config file (I'm using CF so config.cfm), for the different resource types ("Images", "Files"), I can set the "url" and "directory" values to whatever. I go with "Image" and "FIle" in those cases, based on some old legacy resource type folder settings. Works great, images/files uploaded go into the correct spaces, and files chosen via the image and file popups in CKEditor get the correct paths.
But when it comes to the "_thumbs" folder in my baseURL - the resource types are "Images" and "Files", and seem to be based on the "name" value for each resource type in the config file.
Fiddling with this value breaks things as far as CKFinder being able to display folders. I assume the "Images" and "Files" values are hardcoded elsewhere and look for a string match in the "name" config values.
One would expect that if you are able to change the folder names for these resource types, that said change would be used for the thumbnail folders as well - but apparently not.
Any particular reason why? Or is this just one of those goofy things that never came up?
I ran across this because in my system, I have my own file browser which is used within my CMS - CKFinder is used in other places - and I finally had the thought "Hmm I should use the CKFinder thumbnails for my file browser thumbnails, instead of just loading the raw files scaled down to 20x20" - and found that since my file browser has settings of "Image" and "File" based on resource type, the thumbnails would not load - as I was creating thumbnail paths using those values and not "Images" and "Files".
Messing around a bit today, I seem to have run across something odd and that I don't much care for -
In the config file (I'm using CF so config.cfm), for the different resource types ("Images", "Files"), I can set the "url" and "directory" values to whatever. I go with "Image" and "FIle" in those cases, based on some old legacy resource type folder settings. Works great, images/files uploaded go into the correct spaces, and files chosen via the image and file popups in CKEditor get the correct paths.
But when it comes to the "_thumbs" folder in my baseURL - the resource types are "Images" and "Files", and seem to be based on the "name" value for each resource type in the config file.
Fiddling with this value breaks things as far as CKFinder being able to display folders. I assume the "Images" and "Files" values are hardcoded elsewhere and look for a string match in the "name" config values.
One would expect that if you are able to change the folder names for these resource types, that said change would be used for the thumbnail folders as well - but apparently not.
Any particular reason why? Or is this just one of those goofy things that never came up?
I ran across this because in my system, I have my own file browser which is used within my CMS - CKFinder is used in other places - and I finally had the thought "Hmm I should use the CKFinder thumbnails for my file browser thumbnails, instead of just loading the raw files scaled down to 20x20" - and found that since my file browser has settings of "Image" and "File" based on resource type, the thumbnails would not load - as I was creating thumbnail paths using those values and not "Images" and "Files".