Changing ImageGalleryPath client side via Javascript.

  •  09-19-2007, 11:18 AM

    Changing ImageGalleryPath client side via Javascript.

    Hi Adam,

    My config has this setting...

    <security name="ImageGalleryPath">~/ImageGallery/16x16</security>
     
    Is it possible to change this setting client side before the 'ImageGalleryByBrowsing' command is executed?
    Some thing like...

    // Public Image Gallery
    function callShowPublicImageGallery(str_CEID)
    {
    var editor1 = document.getElementById('<%=ceImageSelector.ClientID%>');
    editor1.FocusDocument();
    var editdoc = editor1.GetDocument();
    editor1.somehowchangeImageGalleryPath("my new path");
    editor1.ExecCommand(
    'new');
    editor1.ExecCommand(
    'ImageGalleryByBrowsing');
    InputURL2(str_CEID);
    }
     
    Paul.
View Complete Thread