COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: hrk551 on 19 Jul 2012 10:10:07 AM

Title: Images not available on PDF
Post by: hrk551 on 19 Jul 2012 10:10:07 AM
Hi all, I have placed Images folder under C10 folder and able to access our logs and some image on to the report. And These are displayed on HTML but not when exported to PDF. any suggestions.Thank you


Hrk
Title: Re: Images not available on PDF
Post by: MFGF on 19 Jul 2012 11:25:18 AM
When you reference the image URL in your report, are you using an absolute or relative path to the image?
Title: Re: Images not available on PDF
Post by: hrk551 on 19 Jul 2012 02:20:23 PM
Relative Path
Title: Re: Images not available on PDF
Post by: MFGF on 20 Jul 2012 11:35:33 AM
Hmmm. It sounds like this might not be getting resolved properly. Does it work if you specify an absolute URL to the image file?

MF.
Title: Re: Images not available on PDF
Post by: dcsoke on 20 Jul 2012 11:51:24 AM
Have you made the webcontent folder a shared folder?
Title: Re: Images not available on PDF
Post by: hrk551 on 24 Jul 2012 10:03:20 AM

This is resolved by adding "Everyone" access to the images folder which is placed in the webcontent folder, and in the report for the URl :  ../Images/ file   ....

Thank you
HRK
Title: Re: Images not available on PDF
Post by: Agnes on 28 Apr 2013 02:16:46 AM
One problem is the relative/absolute image url, and another reason may happened on the pdf reading app (http://www.rasteredge.com/how-to/csharp-imaging/pdf-reading/) im not sure, you can try to change to another pdf reader and try again.
Title: Re: Images not available on PDF
Post by: Jiayue.lin on 20 May 2013 10:17:59 PM
maybe we can store the images under ..\Congos10\webcontent\samples\images

when we need to insert image into the report, the URL should be like that

http://localhost(or your server name)/cognos10/samples/images/image2.jpg (the part in red highlight should be the path you login the cognos)