Share via


Add a Data-Bound Image (Report Builder and SSRS)

A report can include a reference to an image that is stored in a database. Such an image is known as a data-bound image. The pictures that appear alongside product names in a product list are examples of data-bound images.

Adding a data-bound image to a page header or page footer requires additional steps. For more information, see Page Headers and Footers (Report Builder and SSRS).

Note

You can create and modify report definitions (.rdl) in Report Builder and in Report Designer in SQL Server Data Tools. Each authoring environment provides different ways to create, open, and save reports and related items. For more information, see Designing Reports in Report Designer and Report Builder (SSRS) on the Web at microsoft.com.

To add a data-bound image

  1. In report design view, create a table with a data source connection and a dataset with a field that contains binary image data. For more information, see Tables (Report Builder and SSRS).

  2. Insert a column in your table. For more information, see Insert or Delete a Column (Report Builder and SSRS).

  3. On the Insert menu, click Image, and then click in the data row of the new column.

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

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

  6. In Select the image source, select Database.

  7. In Use this Field, select the field that contains images in your report.

  8. In Use this MIME type, select the MIME type, or file format, of the image-for example, bmp.

  9. Click OK.

    An image placeholder appears on the report design surface.

See Also

Images (Report Builder and SSRS)
Embed an Image in a Report (Report Builder and SSRS)
Add an External Image (Report Builder and SSRS)
Image Properties Dialog Box, General (Report Builder and SSRS)