As image

To define the display type of a label as image, follow the steps below:

  1. Right-click the label and select Display Type from the shortcut menu to open the Display Type dialog.
  2. In the Display As box, select Image. See the dialog.
  3. In the Web Options panel, click the Browse button to specify the image source. If you want to use a formula to control the image source, click and select a formula from the drop-down list. You can also click the <CREATE FORMULA> item in the list to create one as required. If the label is in a crosstab, you can also use a crosstab formula created in the crosstab to control the image source, or click <CREATE CROSSTAB FORMULA> to create one.

    For a DBField, formula, or a summary, you can also check the From DBField radio button to make the value of the DBField/formula/summary the image source. If you choose this option, the Decode Type drop-down list is enabled, from which you can specify the type for decoding the image.

  4. Type the name of the image in the Name field, or use a formula to control the name.
  5. Type a string in the Alternate Text field to serve as content when the image cannot be displayed, or use a formula to control the alternate text.
  6. In the Tool Tip field, enter the tip you want to show for the image or use a formula to control the tooltip. Then at server runtime or in HTML results, when you hover the mouse over the image, the tooltip will be displayed.
  7. Specify the scaling mode of the image from the Scaling Mode drop-down list, and the maximum scaling ratio in the Max Ratio field. By default the scaling ratio of the image is not limited.

    The following are the available scaling modes:

  8. Specify the size of the image.
  9. Specify the rotation degree of the image in the Rotation field.
  10. If needed, bind some web actions to the label in the Web Behaviors box (for details, see Applying web actions to a label).
  11. Upon finishing, click the OK button to close the dialog.

Notes: