COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Topic started by: donb410 on 09 Nov 2005 06:16:17 AM

Title: [Solved] Image not converting (not found?) by PDF conversion
Post by: donb410 on 09 Nov 2005 06:16:17 AM
I have a banner image in each header and footer of all of the 26 different reports.Ã,  The images is
referenced as (in the properties section of the report under URL source)
Ã,  Ã,  Ã,  URLÃ,  ../skins/branding/cust_banner.gif.
This works fine in the HTML version, but when I run the report to PDF, I get a border of a box with
nothing in it at the top and bottom of each page.Ã,  How do I get PDF to see and use the image?
Do I need to use a fully qualified URL here?Ã,  Since the reports are deployed to CRNs on many different
workstations with a variety of configurations on different networks, I was going for the generalized
solution.Ã,  Any help, hints, or suggestions would be greatly appreciated.

Thanks,

Don
Title: Re: Image not converting (not found?) by PDF conversion
Post by: sir_jeroen on 09 Nov 2005 06:44:01 AM
Have you tried using an JPG image? I had the same problem and it was solved by changing the image type... Maybe this helps
Title: Re: Image not converting (not found?) by PDF conversion
Post by: donb410 on 09 Nov 2005 07:35:10 AM
Thanks for the suggestion, I tried it and unfortunately it did not solve the problem, still getting just a hollow black bordered box.
Title: Re: Image not converting (not found?) by PDF conversion
Post by: mikegreen on 09 Nov 2005 09:06:14 AM
I had the same problem...

Test this - make an image reference http://www.google.com/images/logo_sm.gif

If that works, it is most likely a permissions issue with your images folder. I had a problem where I did not have browse turned onto my images folder and the PDF creator would not find the image.  The test above with a public image will determine if it is your PDF creator behaving badly or a permissions issue.

Do you have the image absolute referenced or relative? Try /images/imagename.jpg instead of http://servername/images/imagename.jpg, too.

Cheers,

Mike
Title: Re: Image not converting (not found?) by PDF conversion
Post by: donb410 on 22 Nov 2005 11:36:02 AM
It appears the problem is tied to 1.1 and was fixed in 1.1 MR1 or 1.1 MR2.  I ran it on MR2 and it worked as it should so I checked the fixlists and both MR1 and MR2 have fixes for PDFs.  Thanks for all the suggestions.

Don