"IMAGE" OBJECT CODE

"IMAGE" OBJECT CODE

Introduced in API version 2.6.20

Object code format

parent_object.IMAGE[{selector}].[property]

 

Possible parent objects

Example

Possible parent objects

Example

CONTACT

CONTACT.IMAGE{INSIGNIA}.*

IDENTIFIER

IDENTIFIER{NAT_ES}.IMAGE.*

TEAM

TEAM.IMAGE{INSIGNIA}.*

Returns an image in different formats

Context information

The image returned corresponds to the parent OBJECT.

Properties

PROPERTY

DESCRIPTION

PROPERTY

DESCRIPTION

IMAGE{SELECTOR}

Image object. It must always be included in an OBJECT CODE as a child of another object that can contain an image (e.g. TEAM.IMAGE)

The selector defines which image must be returned (when the parent object admits more than one image, e.g. TEAM.IMAGE{LOGO})

Predefined selectors:

  • LOGO: Used in TEAMS

  • INSIGNIA: picture (icon, reduced image). Used in TEAMS and CONTACTS

The default property is HTML If no property is specified

IMAGE{SELECTOR}. HTML

Returns an html string with an 'img' element that can be directly inserted in an html page:

<img src = "data:image/jpg;base64,iVBORw0KGgo..."/>

This is the default property

IMAGE{SELECTOR}. BASE64

Returns the a string containing the bytes of the image encoded in Base 64.

 

 

Related content