insertImage

Availability: >= 3.0

Type: Object Method

Description: Inserts an image.

Syntax:

editor.insertImagestring URL [, object attributes [, string style]] );

Parameters:

URL
The URL of the image

attributes
Attributes to apply to the image

style
A WysiwygPro style string to apply to the image.

Example:

WPro.editors['myEditor'].insertImage('/url/of/image.gif', {width:'200',height:'300',alt:'Some Text'} );