Re: Inserting Image

  •  08-03-2005, 10:15 PM

    Re: Inserting Image

    Nope. Didn't help. Inserted the following on Page_Load():
     
        string phyfolder = Server.MapPath("~/images/Users/" + Request.Cookies["rvUsername"].Value + "/");
        System.IO.Directory.CreateDirectory(phyfolder);
        ItemEditor.SecurityPolicyFile  = "default.config";
        ItemEditor.Setting["security:ImageGalleryPath"] =
        ItemEditor.Setting["security:MediaGalleryPath"] =
        ItemEditor.Setting["security:FlashGalleryPath"] =
        ItemEditor.Setting["security:FilesGallaryPath"] =
            "~/images/Users/" + Request.Cookies["rvUsername"].Value + "/";

    "ItemEditor" is obviously the ID of the thing.

    Insert Images opens up to /images/Users/ as defined by the default.config file instead of the specified folder.
     
    Also, how do you prevent this thing from resizing, when you change tabs (Normal, HTML, Preview) like it does in these forums?
View Complete Thread