Share via


How to: Embed an Image in a Report Definition (Reporting Services)

A report definition can include an image embedded in binary format. Embedded images ensure that the image is always available to a report, but can affect the size of the report definition. To view the list of images embedded in a report, use the Report Data pane. After you add an embedded image to a report definition, you must still add the image to the report. For more information, see How to: Add an Image (Reporting Services).

To embed an image in a report

  1. In Design view, in the Report Data pane, right-click the Images node, and then click Add Image.

    Note

    If the Report Data pane is not visible, on the View tab, click Report Data.

  2. In the Image Properties dialog box, type the name in the Name text box or accept the default.

  3. In the ToolTip text box, type a tooltip that you want to appear when the user hovers a mouse over the image in the rendered report.

  4. In Select the image source, select Embedded from the drop-down list.

  5. In the Use this image text box, type the path to the image file.

    Alternatively, click Import, navigate to the file, and then click Open. In Files of type, select the image file type, select the file, and then click Open. Click OK.

    The file is displayed under the Images folder in the Report Data pane.

    Note

    The MIME type is derived when the image is imported. To change the MIME type, see the next procedure.

  6. To add the image to the report, drag the image from the Report Data pane to the design surface. The Image Properties dialog box opens.

  7. Click OK.

To change the MIME type of an imported image

  1. Open the report in Design view.

  2. Select the image on the design surface. The Properties pane displays the image properties.

    Note

    If the Properties pane is not visible, on the View tab, click Property Pane.

  3. Click in the text box next to the MIMEType property and select a new MIME type from the drop-down list.

See Also

Tasks

How to: Add a Data-Bound Image (Reporting Services)

Reference

Image Properties Dialog Box, General

Concepts

Report Layout How-to Topics

Adding Images to a Report

Other Resources

Report Designer F1 Help