Using relative paths for images

We have seen some recipes in this book where we displayed images on the report (for example, the traffic signal one). This recipe will show a best practice related to that.

Getting ready

We will use the report created in the last recipe for this one.

How to do it...

In this recipe we will learn how to use relative paths for images in our report. To do this, perform the following steps:

  1. Open the report in Cognos Report Studio. From the Insertable Objects/Source pane, drag Product image onto the list as a new column.
    How to do it...
  2. Run the report to test it.
  3. It is possible that the images are not displayed.

    In that case, log on to the server ...

Get IBM Cognos 10 Report Studio Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.