EditLive! allows developers to specify a web page that can be viewed through EditLive!'s image insertion dialog. This allows developers to integrate web pages featuring image hyperlinks into the image insertion architecture of EditLive!. To insert images from the image browser, users simply have to click on the image hyperlink and then click the OK button on the image insertion dialog.
Why Use the Image Browser?
This functionality is useful for developers who already possess access to an online image repository and wish to easily access these images through the EditLive! interface. Developers may also wish to create their own web page in order to make a commonly used collection of images readily available to a user base.
Developers can also specify if the location of images inserted from a web page are relative or absolute. This can be useful in ensuring that all the required information relating to the location of the image is passed back to EditLive!. More information on relative and absolute referencing of images inserted from a web page can be found in the <imageBrowser> configuration file element article.
Configuring the Image Insertion Dialog's Browser Component
Detailed information on the image insertion dialog's browser component can be located in the <imageBrowser> configuration file element article.
Restrictions on Web Pages Viewed Using the Image Browser
Web pages referenced through the image insertion dialog's browser component face some restrictions in order to operate correctly.
- Any JavaScript contained in these web pages will not function.
- Images can only be inserted from web pages by image hyperlinks.
Example<a href="images/ephoxImage.gif">
- Image tags cannot be clicked to obtain a reference to the image location.
Example
The following would not return any information to EditLive! upon being clicked.<img src="images/ephoxImage.gif">
See Also
- <imageBrowser> Configuration Element