<image> tag

<image> tag

The <image> tag defines an image or icon within a <pc> (panel column).

Parent tag

  • <pc>

Child tag

  • None


AttributeDescriptionValuesDefault ValueRemarks
idA unique identification value given to an element. It helps to differentiate multiple instances of the same element. 
  • Alphabets: a-z, A-Z, 
  • Numbers: 0- 9
  • Space
  • Underscore
  • The "id" is case-sensitive.

  • No two elements within the same ZML document must have the same ID.
bgColorSpecifies a background color for the image element
  • Hexadecimal value (Eg: #fafafa)
colorSpecifies a color for the icon
  • Hexadecimal value (Eg: #fafafa)

Specify this attribute when:

imageType = 'icon'

sizeSpecifies a size for the font Numbers: 1-9  
widthSpecifies the width for the image elementNumeric value in pixels  
heightSpecifies the height of the image elementNumeric value in pixels  
cornorRadiusSpecifies a value to set rounded cornors for the imageNumeric value in pixels  
marginSpecifies a margin around the image on all sidesNumeric value in pixels  
marginTopSpecifies a margin at the top of the image alone Numeric value in pixels  
marginRightSpecifies a margin to the right of the image alone Numeric value in pixels  
marginBottomSpecifies a margin at the bottom of the image alone Numeric value in pixels  
marginLeftSpecifies a margin to the left of the image alone Numeric value in pixels  
imageTypeSpecifies the image sourceicon /
weblink /
valueSpecifies a value for the image type


imageType =library value=  'Name of the image uploaded' 


'icon' value= 'Name of the icon'

imageType='weblink' value= 'Image URL'

actionSpecifies the action to be associated on click of the imageLink /
Form /
Report /
Page /
appLinkNameSpecifies the link name of the application to the component or custom function associated with OpenForm/OpenReport/OpenPage/ExecuteFunction actionLink name of app  
componentLinkNameSpecifies the link name of the component to be opened for the action OpenForm/OpenReport/OpenPageLink name of component (form/report/page)  
urlSpecifies the URL to be associated to Link actionURL value  
targetSpecifies the target window for OpenURL/OpenForm/OpenReport/OpenPage actionnew-window /
same-window /
queryParamSpecifies the queryParameters for the OpenForm/OpenReport/OpenPage actionQuery Parameter string  
functionNameDefines the name of the function for Execute Function action<namespace>.<function_name>  
successMessageSpecifies the message to be displayed on successful execution of a functionAny String  


Share this post : FacebookTwitter

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

Write to us: support@zohocreator.com