Adding images to documents

You can insert an image such as a logo into a document. The image must be available to both the Intelligence Server and to the designers of the document. If the designers do not have access to the image, they cannot see the image while creating the document.

You can also use dynamic images in a document. Information and steps are below.

Ensuring access to images

To ensure that the image is available as needed, you can use any of the following paths in the Source field on the Image category in the Properties and Formatting dialog box:

The Web folder is the physical location where the MicroStrategy Web product is installed (for MicroStrategy Web) or where it is deployed (for MicroStrategy Web Universal).

For example, if the image is on a web server machine, you can specify the URL for the file as long as the Intelligence Server and users who design the documents can access that location. Once the location is established and the image file that you want to insert is available in that location, you can insert the image into a document.

You should be able to find the path and file name of images to use by viewing the source of a Web page. To display an image correctly when the document is displayed as PDF, the image type must be .bmp, .jpg, .jpeg, or .gif.

To insert an image in a document

  1. Open the document in Design or Editable Mode.

  2. From the Insert menu, select Image.

  3. Click and drag in the location where you want to insert the image. The Properties and Formatting dialog box opens.

  4. In the Source field, type in the path for the image file. In general, you can type the file path in a C:/My Images/logo.gif format, with the following important exceptions:

  5. To adjust the size of the image automatically, right-click the image and select Size and then select To Grid.

  6. If you want users to be able to click the image and go to a Web page, you can define it as a hyperlink. From the Properties and Formatting dialog box, click General, select the Is hyperlink check box, and type the URL in the Hyperlink field.

For steps to change image formatting, such as borders, see Formatting images.

To insert a dynamic image

You can add dynamic images to a document. Dynamic images allow different images to be displayed depending on the data in the dataset. You can use attributes and metrics to determine the file name of the image. For example, a document is paged by Region. For each region, a map for that particular region must be displayed. This and other examples are presented in detail in the MicroStrategy Report Services Document Creation Guide.

The image must be available to both the Intelligence Server and to the designers of the document; follow the guidelines above. Use the steps above to insert a dynamic image into a document. Before you can use a dynamic image, you must have created the image files with the appropriate names. To use an attribute, the file names must be the attribute elements; to use a metric, the file names must be the values returned by the metric.

Related topics