<image>

<image> 
The <image> tag defines an image.
Parent tag : <pc>
Child tag   :  --
Attributes
Possible Values 
  • icon 
  • computer
  • weburl
Default Values
  • weburl
Possible Values 
  • The value attribute depends on the imageType.
imageTypevalueExample

icon

Specify the icon name using the following syntax:

 icon-class* <space> icon-name

<image imageType='icon' value='zc-li-solid shopping-tag'>

computer

Specify the name of the image as stored in the image library.

<image imageType='computer' value='product1.jpeg'>

weburl

Specify the image url.<image imageType='weburl' value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png'>

 

Note:  

  • *icon-class refers to solid or outline icons.
  • Use one of the prebuilt icon-class : zc-li-solid or zc-li-outline
  • Supported image formats: .jpeg, .jpg, .png. Maximum size of upto 2 MB is permissible.

 

Possible Values 
  • A number from 1-9.

Default Value

  • 4

Example

Syntax

<image imageType='icon' value='zc-li-solid weather-fahrenheit' iconsize='4'>

Output

 

Note:  

  • iconsize attribute is applicable only when imageType='icon'
Possible Values 
  • A numeric value in pixels

Example

Syntax<image imageType='icon' value='zc-li-outline travel-world' cornerRadius='5'>

Output

 

Note:  

  • cornerRadius attribute is optional.
Possible Values 
  • A hexadecimal color value. Refer this link for hexadecimal color codes.

Example

Syntax

<image imageType='icon' value='zc-li-solid sport-tennis-ball' color='#B3EB31' >

Output

 

Note:  

  • color attribute is optional.
  • It is applicable only for <imageType='icon'>
Possible Values 
  • A hexadecimal color value. Refer this link for hexadecimal color codes.

Note:  

  • bgColor attribute is optional.

 

Possible Values 
  • A numeric value in pixels

Example

Syntax<image imageType='computer' value='scenary.jpg' width='500px'/>
Output

Note:  

  • width attribute is optional.

 

Possible Values 
  • A numeric value in pixels

Example

Syntax<image imageType='computer' value='eiffel-tower.jpg' height='400px'/>
Output

Note:  

  • height attribute is optional.
Possible Values 
  • A numeric value in pixels
Example
Syntax<image imageType='computer' value='Custom-apps.jpg' padding='10px'/>
Output 

Note:  
  • padding attribute is optional.
Possible Values 
  • A numeric value in pixels
Example
Syntax<image imageType='computer' value='Custom-apps.jpg' paddingTop='10px'/>
Output 

 
Note:  
  • paddingTop attribute is optional.
Possible Values 
  • A numeric value in pixels
Example
Syntax<image imageType='computer' value='Custom-apps.jpg' paddingRight='10px'/>
Output 

 

Note:  

  • paddingRight attribute is optional.
Possible Values 
  • A numeric value in pixels
Example
Syntax<image imageType='computer' value='Custom-apps.jpg' paddingBottom='10px'/>
Output 

 

Note:  

  • paddingBottom attribute is optional
Possible Values 
  • A numeric value in pixels
Example
Syntax<image imageType='computer' value='Custom-apps.jpg' paddingLeft='10px'/>
Output 

 

Note:  

  • paddingLeft attribute is optional
Possible Values 
  • A numeric value in pixels
Example
Syntax<image imageType='computer' value='Custom-apps.jpg' margin='20px'/>
Output 

 

Note:  

  • margin attribute is optional
Possible Values 
  • A numeric value in pixels
Example
Syntax<image imageType='computer' value='Custom-apps.jpg' marginTop='20px'/>
Output 

 

Note:  

  • marginTop attribute is optional
Possible Values 
  • A numeric value in pixels
Example
Syntax<image imageType='computer' value='Custom-apps.jpg' marginRight='400px'/>
Output 

 

Note:  

  • marginRight attribute is optional
Possible Values 
  • A numeric value in pixels
Example
Syntax<image imageType='computer' value='Custom-apps.jpg' marginBottom='20px'/>
Output 

 

Note:  

  • marginBottom attribute is optional
Possible Values 
  • A numeric value in pixels
Example
Syntax<image imageType='computer' value='Custom-apps.jpg' marginLeft='400px'/>
Output

 

Note:  

  • marginLeft attribute is optional
Possible Values 
  • Link
  • Form
  • Report
  • Page
  • Function 

Example

actionSyntax

Link

<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png'  action='Link'   url='A URL to be opened '/>*

Form

<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png'   action='Form'   componentLinkName='linkname of the ManageEngine AppCreator form to be opened'   appLinkName='linkname of the ManageEngine AppCreator application to which the form belongs' />*
Report<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png'  action='Report'   componentLinkName='linkname of the ManageEngine AppCreator report to be opened'   appLinkName='linkname of the ManageEngine AppCreator application to which the report belongs' />*
Page<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png'   action='Page'   componentLinkName='linkname of the ManageEngine AppCreator page to be opened'   appLinkName='linkname of the ManageEngine AppCreator application to which the page belongs' />*
Function<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png'   action='Function'   functionName='Name of the custom function to be triggered' />*

* Learn in detail about each of the action types in the following sections.

 

Note:  

  • action attribute is optional.
  • The action attribute acts as a source attribute. i.e: One or more of the following attributes viz: url, componentLinkName, appLinkName, functionName, parameters, successMessage, target, popupWidth and popupHeight will be applicable only when an action  is specified.
Possible Values 
  • A url pointing to another website
  • A url pointing to a component within your ManageEngine AppCreator Account

Example 

  • <image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png' action='Link' url='https://www.zoho.com/creator/'>

Note:  

  • url attribute is optional.​ 
  • It is applicable only when <action='Link'> 
Possible Values 
  • Linkname of the ManageEngine AppCreator Application component to be opened.

Example 

actionSyntax
Form<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png' action='Form' componentLinkName='User_Details'/>
Report<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png' action='Report' componentLinkName='User_Details_Report'/
Page<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png' action='Page' componentLinkName='User_Dashboard'/>

 

Note:  

  • componentLinkName attribute is optional.​ 
  • It is applicable only when <action='Form'/'Report'/'Page'>
Possible Values 
  • Linkname of the ManageEngine AppCreator Application to be opened.

Example

actionSyntax
Form<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png' action='Form' componentLinkName='User_Details' appLinkName='Resource_management'/>
Report<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png' action='Report' componentLinkName='User_Details_Report' appLinkName='Resource_management'/>
Page<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png' action='Page' componentLinkName='User_Dashboard' appLinkName='Resource_management'/>

 

Note:  

  • appLinkName attribute is optional.​ You do not need to specify appLinkName if the component you are associating to the action, belongs to the same application you are currently in.
  • It is applicable only when <action='Form'/'Report'/'Page'/'Function'>
Possible Values 
  • A custom function defined in any of your ManageEngine AppCreator Applications. To get the list of custom functions in your application: Go to Settings -> Extensions ->  Custom Functions

Example

  • <image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png' action='Function' functionName='send_email'/>

Note:  

  • The functionName can belong to a default namespace or a custom namespace.
  • If the function belongs to a custom namespace : <functionName='namespace_name.function_name'>
  • functionName attribute is optional.
  • It is applicable only when <action='Function'> and a function name must be specified.
Possible Values 
  • When <action='Form' / 'Report' / 'Page'>, parameters refers to the query string that will be appended to the corresponding component's permalink. Refer to this page to learn about using query strings in permalinks of forms, reports and pages.
  • When <action='Function'>, parameters refers to an argument of the selected custom function.​

Example

actionSyntax

Form

<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png'   action='Form' componentLinkName='User_Details'   appLinkName='Resource_management'  parameters='App_name=${name}'/>

OR

<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png'   action='Form' componentLinkName='User_Details'   appLinkName='Resource_management'  parameters='App_name=Zoho Creator'/>

Report

<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png'  action='Report'   componentLinkName='User_Details'   appLinkName='Resource_management' parameters='App_name=${name}' />

or

<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png'  action='Form' componentLinkName='User_Details'   appLinkName='Resource_management'  parameters='User_Name='Rob'/>

 

Page<image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png'  action='Page'   componentLinkName='linkname of the ManageEngine AppCreator page to be opened'   appLinkName='linkname of the ManageEngine AppCreator application to which the page belongs' parameters='App_name=${name}' />*

 

Note:  

  • parameter attribute is optional.
  • It is applicable only when <action='Form'/'Report'/'Page'/'Function'>
  • parameters can either be a static value like: Name='Rob' or a page parameter.
  • Page parameter must be specified as :  App_name=${name}, where name is the page parameter. 
Possible Values
  • A string

Example

  • <image value='https://www.zoho.com/sites/default/files/creator5-logo-2x.png' action='Function' functionName='send_email' successMessage='Sent Successfully!'/>

Note:  

  • successMessage attribute is optional.
  • It is applicable only when <action='Function'>
Possible Values 
  • new-window 
  • same-window
  • popup

Default Value 

  • new-window

Note:

  • It is applicable only when <action='Link'/'Form'/'Report'/'Page'>
Possible Values 
  • A numeric value in percentage or pixels 
Possible Values 
  • A numeric value in percentage or pixels 

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: appcreator-support@manageengine.com