A toolbar button for inserting an image. The behavior
of the button would be similar to that of the existong
insert link button. The fields that could be filled in
would be source URL, alignment, alt text, height,
width, and border. URL is the only required field.
All fields would be fill in text fields except for
alignment. Alignment would be a select box that allows
selection of valid HTML vaules for the align
attribute. In HTML 4, these values are Left, Right,
Top, Bottom, and Middle.
Upon entering these values and clicking okay, an image
HTML tag will be inserted into the editor dialog.
Attributes that contain no value will not be inserted.
This tag should contain valid XHTML markup. The tag
name (img) and all attribute names should be lowercase
and all attribute values should be quoted ("value").
The tag should be properly closed with a slash.
<img src="someurl.gif" align="right" />
Log in to post a comment.