How to set ImageGalleryPath in code

  •  01-09-2007, 11:09 AM

    How to set ImageGalleryPath in code

    I am using the CuteEditor as an Image Selector and I need to set the ImageGalleryPath to something different based on who is logged into the system.
     
    I am using the following code:
     

    editor1.SetSecurityImageGalleryPath= "~/someUsersImageFolder";

    editor1.ExecCommand('new');

    editor1.ExecCommand('ImageGalleryByBrowsing');

    The editor displays but it seems to ignore the SetSecurityImageGalleryPath and uses the default /uploads directory.

    I tried the other methods too like. editor1.ImageGalleryPath = , etc
    What am I missing?

     

View Complete Thread