but still as shown in below screen, path is different than what we want.
You can easily specify the image gallery path using the following methods:
The security policy file (default.config, admin.config and guest.config) can be found in the /CuteEditor/Configuration/Security folder. In security policy file you can find the ImageGalleryPath element which contains the image gallery path information within CuteEditor. By default, it contains the following value:
<security name ="ImageGalleryPath" >~/uploads</security><!-- Image Gallery Dialog --> <security name ="ImageBrowserPath" >~/uploads</security><!-- Insert Image Dialog -->
You can modify ImageGalleryPath element and ImageBrowserPath element to meet your own requirements.
For example:Use absolute path:
<security name ="ImageGalleryPath" >/uploads</security><!-- Image Gallery Dialog --> <security name ="ImageBrowserPath" >/uploads</security><!-- Insert Image Dialog -->
Use physical path:
<security name="ImageGalleryPath" >c:\inetpub\wwwroot\uploads</security><!-- Image Gallery Dialog --> <security name="ImageBrowserPath" >c:\inetpub\wwwroot\uploads</security><!-- Insert Image Dialog -->
C# Example:
//use the app-based path Editor1.Setting["security:ImageGalleryPath"]= "~/uploads";Editor1.Setting["security:ImageBrowserPath"]= "~/uploads";
//use the absolute path Editor1.Setting["security:ImageGalleryPath"]= "/uploads";Editor1.Setting["security:ImageBrowserPath"]= "/uploads";
//use the physical path Editor1.Setting["security:ImageGalleryPath"]= @"c:\inetpub\wwwroot\uploads";Editor1.Setting["security:ImageBrowserPath"]= @"c:\inetpub\wwwroot\uploads";
//use the app-based path Editor1.SetSecurityImageGalleryPath("~/uploads");Editor1.SetSecurityImageBrowserPath("~/uploads");
//use the absolute path Editor1.SetSecurityImageGalleryPath("/uploads");Editor1.SetSecurityImageBrowserPath("/uploads");
//use the physical path Editor1.SetSecurityImageGalleryPath("c:\inetpub\wwwroot\uploads");Editor1.SetSecurityImageBrowserPath("c:\inetpub\wwwroot\uploads");
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx Web Messenger: http://cutesoft.net/Web-Messenger/default.aspxasp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspxasp wysiwyg html editor: http://cutesoft.net/ASP asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx Live Support: http://cutesoft.net/live-support/default.aspx