COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Active Reports => Topic started by: kaazimraza on 04 Sep 2013 08:42:42 PM

Title: Public image URL not displaying in browser.
Post by: kaazimraza on 04 Sep 2013 08:42:42 PM
Hi guys,

I have ran into a weird problem where my active report is not displaying a public image in the browser. It shows up at design time in report studio but if I run it, IE just shows the X button.

Following is the image, which is just a random image from the web.

https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS-IumT2mbSTxd85Lfl3AbVBt2VXjNc_9K3a8m064QO8Ac0ylX1Aw

I created a blank active report, put an image control and set it to load this image. It displays at design time, but shows X when I run in the IE.

I created a list type report, put an image control and set it to load this same image. and bang, it showed up in the same IE, when I ran it.

I am lost here, would appreciate I anyone can help.

Thanks,

Kaz
Title: Re: Public image URL not displaying in browser.
Post by: MFGF on 05 Sep 2013 08:29:55 AM
Hi,

I found this occasionally too - I think it's sensitive to whether directory browsing is enabled in the web server for the folder the image resides in.

Try copying the image to webcontent\samples\images and reference the image from there. I found this works for me.

Regards,

MF.
Title: Re: Public image URL not displaying in browser.
Post by: kaazimraza on 05 Sep 2013 08:47:02 AM
Hi MF,

Thanks for the reply. However; I guess I wasn't clear. The image that I have included in my post earlier, wasn't an image local to my Cognos. It is just one of the random images I found on Google image search. Meaning, its a publicly available image, someone on the internet. It is not residing on my webcontent or image folder or anywhere else on my web server.
Title: Re: Public image URL not displaying in browser.
Post by: bdbits on 06 Sep 2013 10:01:23 AM
Is your connection to the Cognos server also encrypted? If not, I have run into annoyances where IE does not like to display both http and https content on the same page. Depending on the security zone settings, it may or may not do this silently. Just an idea.

Maybe try it with firefox and see if you still have the problem.
Title: Re: Public image URL not displaying in browser.
Post by: kaazimraza on 07 Sep 2013 06:53:02 AM
Hi, thanks for the reply. I see what you're saying but if it was a problem with security settings, why would it display in a usual list report, and not active report?
Title: Re: Public image URL not displaying in browser.
Post by: bdbits on 09 Sep 2013 04:45:42 PM
I'm sorry, I missed that this was an active report. I only know enough about those to be dangerous, so sadly I cannot offer much help.
Title: Re: Public image URL not displaying in browser.
Post by: MFGF on 10 Sep 2013 05:06:12 AM
What happens if you create a non-active report and reference the same image URL, then run it? Does the image render in the Cognos viewer ok?

MF.
Title: Re: Public image URL not displaying in browser.
Post by: kaazimraza on 16 Sep 2013 09:56:23 AM
Hi MF,

Yes it renders correctly in a non-active report type of report.