Realize this post is 4–5 years old. Has there been any improvements in the image path handling in CuteEditor since?
Have two sites on the same IIS server, running as subdomains of a single TLD:
C:\websites\website_a.com = http://a.website.com
C:\websites\website_b.com = http://b.website.com
Would love share images between them instead of having to manage duplicate image folders (which contain several thousand images meticulously organized into subfolders). If you set an absolute path for the images that is outside the root folder of the site that CuteEditor is installed on, it won't work. That is, if CuteEditor is running in the website_a.com folder above, I can't reference an image folder in the website_b.com folder:
<security name="ImageBrowserPath">C:\websites\website_b.com\images</security>
Would be really nice if, like many other editors, CuteEditor offered a way to use any folder on the server and simply specify in the configuration what the corresponding URL for that folder is. WSYIWYGPro implements this with two variables:
// IMAGE_FILE_DIRECTORY +
// Set this to the file path path of your images folder.
// This value must end in a '/'
//
// By default this variable is null, which means that this feature is disabled!
//
// Examples: (actual file paths will vary between servers, check with your hosting company if unsure):
//
// Windows:
// define('IMAGE_FILE_DIRECTORY', 'c:/html/users/mywebsite/html/images/');
//
// Linux:
// define('IMAGE_FILE_DIRECTORY', '/var/httpd/htdocs/www.mywebsite.com/images/');
define('IMAGE_FILE_DIRECTORY', 'C:/websites/website_b.com/images/');
// IMAGE_WEB_DIRECTORY +
// The web address of the folder specified above (the URL you'd type into a browser to get to your images folder).
// This variable should always end in a /
//
// By default this variable is null, which means that this feature is disabled!
//
// Examples:
// It could be a full web address like this:
//
// define('IMAGE_WEB_DIRECTORY', 'http://www.mysite.com/images/');
//
// Or it could be addressed from the document root like this:
//
// define('IMAGE_WEB_DIRECTORY', '/images/');
define('IMAGE_WEB_DIRECTORY', 'http://b.website.com/images/');