EditDialogue Script : Image
Syntax
<dlog:Image id={unique Image ID} ImageURL={Image URL} AlternateText={image text}
FieldName={image URL field source} AlternateTextFieldName={field source for alternate text}
ImageAlign={Alignment type} CssClass={CSS class}></dlog:Image>
Usage
Displays an image. Image URL and Alternate Text may be dynamically bound to Salesforce record properties.
Attributes
id: (Required) A unique identifier for the control. Multiple Images displaying the same field may be used on a page, but each Image control must have a unique ID.
ImageURL: The image target URL.
FieldName: (optional) The Salesforce URL field name to be used for rendering the image.
AlternateText: The text displayed on hover.
AlternateTextFieldName: (optional) The Salesforce custom field name to be displayed as alternate text.
CssClass: (Optional) Reference to a Cascading Style Sheet class for defining presentation of control.
ObjectName: (Optional) Reference to the Salesforce object name (if different than the object defined in the script editor).
ImageAlign: The alignment of the image in relation to other elements on the Web page.
Valid values include ImageAlign.NotSet, ImageAlign.Left, ImageAlign.Right, ImageAlign.Baseline, ImageAlign.Top,
ImageAlign.Middle, ImageAlign.Bottom, ImageAlign.AbsBottom, ImageAlign.AbsMiddle, ImageAlign.TextTop, ImageAlign.NotSet
View more attributesNotes If ImageURL is blank or null, then the control is disabled (ie. a broken image link will *not* appear).
Example
<dlog:Image id='ProductImage' FieldName='Product_Screenshot_ _c' AlternateTextFieldName='Product_Image_Caption_ _c'></dlog:Image>