SetSecurityImageGalleryPath

Last post 08-26-2009, 8:35 AM by corus. 2 replies.
Sort Posts: Previous Next
  •  08-25-2009, 3:47 PM 55039

    SetSecurityImageGalleryPath

    Error on Image gallery path.
     
    My website files are on F:\Project\Website  but the Images are on F:\Project\Images
     
    How do I set the Editor.SetSecurityImageBrowserPath = "F:\Project\Images";  When I add this line of code the Image pop up window throws an error "Could not find a part of the path ".
     
    Thanks.
     
    Corus
  •  08-25-2009, 9:21 PM 55048 in reply to 55039

    Re: SetSecurityImageGalleryPath

    Hi corus,
     
    Try this way
     
    1. In IIS create a Virtual directory(point to 'F:\Project\Images ') under your site, name 'Image' (You can use any name)
     
    2. Set   editor1.Setting["security:ImageGalleryPath"] = "~/Image";
     
    Regards,
     
    Ken
  •  08-26-2009, 8:35 AM 55065 in reply to 55048

    Re: SetSecurityImageGalleryPath

    Hi Ken,
     
    Thanks a lot for the solution it worked.
     
    Cheers,
     
    Corus
View as RSS news feed in XML