Cognos BI 10.2.1 and 10.2.2 host all of their report images in the following file location: \install_location\webcontent\samples\images. If you were to either edit sample reports or create your own, all images can be saved in this file location and inserted directly into the report.
When experimenting with a sample report in Cognos Analytics 11.0.3, the images in the \install_location\webcontent\samples\images folder can be easily mapped to what is displayed in it.
When trying to insert an image into a report that you have created in Cognos Analytics 11.0.3 which is situated in the same file location as the sample report images (\install_location\webcontent\samples\images), it cannot be identified or found. Cognos does not allow you to proceed with this image in your report thus producing an error message.
As previous versions of Cognos BI have enabled users to insert images into bespoke reports from the \install_location\webcontent\samples\images folder, how can this be done in Cognos Analytics 11.0.3?
Answer by clyons (505) | Jul 29, 2016 at 08:04 AM
The way images are saved and inserted for bespoke reports in IBM Cognos Analytics 11.0.3 has changed in comparison to previous or alternative versions. Instead of saving images in the file location of \install_location\webcontent\samples\images when creating your own reports, users should save them in install_location\webcontent\bi\images instead. Once you have saved the images in this file location, you can do the following:
Open or create your own report.
Click on the Toolbox and drag an image object into the work area.
Navigate to the file location of the image you want to insert via install_location\webcontent\bi\images.
Answer by PWUB_Mohammed_Ali (1) | Feb 05, 2017 at 06:51 AM
Our Cognos 10 link for image was ..//samples/images/dept_Images/Logo.gif
What should be the image link for Cognos 11 ?
Answer by Torben Schipper (235) | Feb 06, 2017 at 01:05 AM
Hello, Since your path is ../samples/images/dept_Images/Logo.gif in Cognos 10 therefore is relative to install_location/webcontent. Finally I would say your path is ../bi/samples/images/dept_Images/Logo.gif in Cognos 11 which is again relative to install_location/webcontent. Hope this help Kind regards Torben
Answer by PWUB_Mohammed_Ali (1) | Feb 06, 2017 at 05:05 AM
Thank you that helped.