COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: harika321 on 10 Jun 2009 01:44:20 AM

Title: Cognos Image Issue
Post by: harika321 on 10 Jun 2009 01:44:20 AM
--------------------------------------------------------------------------------

Hi All,

While inserting a image, we are unable to browse the images directly. It gives me the following error. WEB SERVER ERROR : 404 NOT FOUND.

Now we are using copy and paste, the following path : C:\Program Files\cognos\c8\webcontent\samples\Images\amex-logo.jpeg.
We are able to view the image in the HTML output, But when we run the report in Excel we are unable to view the image.

Here we are using Excel 2002. Is their any version capatiablity for image in Excel.
Have you exported any image in your reports in excel 2002, Is it viewable.

Please help on this
Title: Re: Cognos Image Issue
Post by: vij on 11 Jun 2009 01:56:50 AM
HI harika321 ,

have you tried this one..........
Open Excel - Tools - Options - General - Web Options - General tab. Make sure the 'Load pictures from Web pages not created in Excel' is checked (Selected).



hope it will help you,

regards,
vij  :)
Title: Re: Cognos Image Issue
Post by: rockytopmark on 16 Jun 2009 12:55:02 PM
Excel and PDF are rended via the APP server, where HTML is rendered via the WEB server.

You need to have the image files in both locations, and use a relative path to them for the URL property, rather than explicit...

".\samples\images\amex-logo.jpg"

...or something like that.  Play around with the relative path until it works in all cases.  It can be done though...
Title: Re: Cognos Image Issue
Post by: aji136 on 17 Jun 2009 01:26:46 AM
If the image to be rendered is set as a background image, then it can't be rendered in Excel. This is a limitation of Cognos rendering to Excel (not sure if the behavior has changed in v8.4). If the image object is inserted in the report, then it renders without any issues.

I have included screen shots to clarify my point and for your reference.