COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: kedward1 on 01 Mar 2013 11:53:54 AM

Title: Image not rendering on a PDF
Post by: kedward1 on 01 Mar 2013 11:53:54 AM
I posted this topic previously....http://www.cognoise.com/index.php/topic,21019.msg63562.html#msg63562 (http://www.cognoise.com/index.php/topic,21019.msg63562.html#msg63562)

We wound up putting the images on a local web server (external to the cognos server). When we open report studio and view the page layout for the report the images display. When running the report as html, the image renders, however, it doesn't in a PDF.

How can I get the image to display in a pdf?

Thanks!
Title: Re: Image not rendering on a PDF
Post by: dawells on 01 Mar 2013 12:27:57 PM
Is your enviroment distributed with the dispatche on a seperate server that the gateway? If so, then the following might help.

I faced a similar issue after an upgrade where an image was not generating and it took some understanding on my part find a solution. See reports rendered in PDF (and Excel/CSV) are done so on the dispatcher and not the gateway (HTML reports are rendered on the gateway). Therefore, when that report executes it uses your relative path to locate the images inside the webcontent folder. However, if you were like me your didn't have the image files and folder structure in the webcontent folder on the dispatcher like you had on the gateway. Thus, Cognos could not locate the images and as a result that didn't show up on PDF reports.

Let me know if my explanation helps. Thanks.