Change Image Upload directoery

  •  11-09-2005, 6:41 PM

    Change Image Upload directoery

    Hello
     
    I have two websites
    D:/IIS Projects/publicWebsite/
    D:/IIS Projects/adminWebsite/
     
    The editor is situated in the adminWebsite directory which is the admin section for the publicWebsite.
     
    I would like to upload my images or change the upload direcory path to
    D:/IIS Projects/publicWebsite/Uploads
    instead of
    D:/IIS Projects/adminWebsite/Uploads
     
    I tried using the code
    Editor1.Setting["security:ImageGalleryPath"]= "D:/IIS Projects/publicWebsite/Uploads";
    but i get an error whixh is

    "Unable to translate physical path D:/IIS Projects/publicWebsite/Uploads to virtual path"

    I am doing something wrong or is there a better way to do this?

    Thanks for any help

     
     
View Complete Thread