Cute Editor for ASP

Setting up the Image gallery path

Setting up the Image gallery path

To enable the image management function of the Cute Editor control, you must set up a managed image gallery folder.

This is simply a folder in which you will be placing images for your users to use in their content. Create a folder in your application’s root folder. (For most applications, this is your web server’s root folder.) The folder can be named something like /uploads/,  /images or /UserImages. 

Make sure that the Internet Guest Account has Read+Write permissions on this folder and its contents.

 


 

How to specify the Image gallery path?

You can easily specify the image gallery path using the following methods:

1. Edit security policy file.


The security policy file (default.config, admin.config and guest.config) can be found in the CuteEditor_Files/Configuration/Security folder. In security policy file you can find the ImageGalleryPath element which contains the image gallery path information within Cute Editor.  By default, it contains the following value:


<
security name="ImageGalleryPath">/uploads</security>
  

You can modify the ImageGalleryPath element to meet your own requirements.

For example:

<security name="ImageGalleryPath">/uploads</security>

 

2. Programmatically specify the Image gallery path


Example:

//Programmatically specify the Image gallery path 
editor.ImageGalleryPath = "/Uploads"