Sdílet prostřednictvím


How to: Add an Image (Reporting Services)

A report can include images from external locations, from database tables, or from binary images embedded in the report definition. For external images and data-bound images, you must verify that the image exists and that the report user has permissions to access the image. For more information, see Adding Images to a Report.

To add an image

  1. In Design view, click Image in the Toolbox.

  2. Click a location on the design surface and drag the mouse to create a box that is the size of the desired image. Alternatively, click the design surface to create an image item of fixed size.

  3. In the General page of the Image Properties dialog box, type a name in the Name text box or accept the default.

  4. (Optional) In the Tooltip text box, type text to display when the user hovers the mouse over the image in a report rendered for HTML.

  5. In Select the image source, click the option that specifies where the source for the image exists.

    • External   Choose this option when you specify an image that exists on the report server or on a Web server. For this option, you must type a URL to the image or select a dataset field that contains a URL to the image.

    • Embedded   Choose this option when you specify an image that is part of the report definition. To add a new embedded image, see How to: Embed an Image in a Report Definition (Reporting Services).

    • Database   Choose this option when you specify a dataset field that is bound to a database field that contains an image. For more information, see How to: Add a Data-Bound Image (Reporting Services).

  6. Click OK.

  7. (Optional) Click Size, Visibility, Action, or Border to set additional properties for the image report item.