Re: Integrating our own Image Gallery?

  •  12-13-2004, 6:45 PM

    Re: Integrating our own Image Gallery?

    Hi Adam,

    Thanks for the prompt response :)
     
    I have created a custom button which displays our gallery and inserts the selected image. The problem with the standard InsertImage and ImageFromGalleryByBrowsing toolbar buttons is that they expect the 'uploads' folder to exist, and display the contents of said folder which is not applicable for our application. Removing those buttons, while leaving our custom one seems to work ok and allows the user to double click or rightclick->properties to adjust styles or they can click our custom button to replace the image with a different one.
     
    A couple more questions now:
    1. Can I programmatically display the properties dialog after inserting the <img ...> tag in my JS handler to take the user directly to margin/style properties?
    2. If the user desires to change the current image, but keep flow layout and margins etc the same, how would I handle this? (at the moment my handler just does an InsertHtml command with "<img src='...'>").
     
    cheers,
    Dan
View Complete Thread