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.
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:
An http reference to a central Web server machine, such as http://microstrategy/Test/myimage.jpg. Intelligence Server and Desktop must both be able to access the machine.
A full path to the image on a shared network drive, such as \\my_computer\shared\myimage.jpg. All users, Intelligence Server, Desktop, and the web server must be able to access the drive.
A partial path, such as Images\myimage.jpg. The image must be copied in all of the following folders:
Desktop\Images
Intelligence Server\Images
Web\Images
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.
Open the document in Design or Editable Mode.
From the Insert menu, select Image.
Click and drag in the location where you want to insert the image. The Properties and Formatting dialog box opens.
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:
If the document will be opened in Flash Mode, use an HTTP-based image path. Do not use a network image path (for example, \\corporate-administrator\Shared\image.jpg) or a local image path (for example, C:\My images\image.jpg). Images that use a non HTTP-based path are not displayed in Flash Mode.
If the document will be exported to Excel, use an absolute image path. Do not use a relative image path. Images that use a relative image path are not displayed in Excel.
If you are inserting a dynamic image, type the folder path to the image files, then the attribute or metric name in braces { }, followed by the file extension. Also use brackets [ ] if the attribute or metric name contains spaces. For example, the following image source points to the Revenue Trend metric: \\my_computer\shared\{[Revenue Trend]}.jpg
To adjust the size of the image automatically, right-click the image and select Size and then select To Grid.
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.
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