### Image Button

The following are details about options for this display type. See the dialog.

Source

Specifies where the image button you want to use comes from.

- From URL
  Specifies to use an image from a URL. You can click the Browse button to specify the path or input the URL directly in the text field. These types of images are supported: GIF, BMP, JPG, and PNG.
- From DBField
  For a DBField, formula, or a summary, you can check this option to make the value of the DBField/formula/summary the image source.
  - Decode Type
    Specifies the type for decoding the image. It can be GIF or JPG, BITMAP, AUTODETECT (this is to detect an image type saved in the database automatically).

Name

Specifies the name of the image button.

Value

Specifies the value of the image button.

Alternate Text

Specifies the alternate text of the image, which will be shown when the image cannot be displayed.

Tool Tip

Specifies the tooltip of the image button, which will be shown when you hover the mouse over the image button when the report runs in HTML format or in Page Report Studio.

Indicates the value of the option can be controlled by a formula. Click this button and select a formula from the drop-down list. If the given formulas cannot meet your requirements, click <CREATE FORMULA> to create one. If the image button is in a crosstab, you can also use a crosstab formula created in the crosstab to control the tooltip, or click <CREATE CROSSTAB FORMULA> to create one.

Disabled

Specifies whether the image button is disabled or enabled.

Size

Specifies the size of the image.

- Original Size
  Specifies whether to use the original size of the image.
- Constrain Proportions
  If checked, when you set the width or height of the image, the other will be adjusted accordingly based on the image's width-to-height ratio. Available only when the Original Size option is unchecked.
- Width
  Specifies the new display width of the image in inches. Available only when the Original Size option is unchecked.
- Height
  Specifies the new display height of the image in inches. Available only when the Original Size option is unchecked.
- Max Ratio
  Specifies the maximum scaling ratio of the image. By default the scaling ratio of the image is not limited. If it is set to any value greater than 0, the actual scaling ratio will be less than or equal to it.
- Scaling Mode
  Specifies the scaling mode of the image. Available only when the Original Size option is unchecked. There are five types available for you:
  - actual size
    If selected, the image will be shown in its actual size.
  - fit image
    If selected, the image will be scaled to be wholly shown.
  - fit width
    If selected, the image will be scaled to fit the width of the image viewer.
  - fit height
    If selected, the image will be scaled to fit the height of the image viewer.
  - customize
    If selected, the image will be scaled according to the width and height that you specify in the Width and Height fields.

Web Behaviors

Specifies some web behaviors to the image button.

- Adds a new web behavior line.
- Removes the selected web behavior.
- Moves the selected web behavior up a step.
- Moves the selected web behavior down a step.
- Events
  Specifies the trigger event.
- Actions
  Specifies the web action you want the event to trigger.
  - Opens the Web Action List dialog to bind some web action to the event.

OK

Applies the changes and closes the dialog.

Cancel

Does not retain any changes and closes the dialog.

Apply

Applies all changes and leaves the dialog open.

Help

Displays the help document about this feature.