COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Active Reports => Topic started by: JGirl on 11 Oct 2012 06:45:06 PM

Title: Some AR images not rending via Cognos Mobile - but fine in IE
Post by: JGirl on 11 Oct 2012 06:45:06 PM
I've got an active report where I have a union queries displaying images in a list to give me large buttons.  These render fine via  IE (ie via the browser), but when I open the report on the iPad (as an email attachment --> Open in IBM Cognos Mobile) only 2 of my 4 images are rendering.  The 4 image files are all referenced in the same way, all the same size, all the same image file type.  Anyone else had this issue and what was the solution?
Title: Re: Some AR images not rending via Cognos Mobile - but fine in IE
Post by: MFGF on 12 Oct 2012 05:37:00 AM
Hi,

Did you by any chance update your iPad to run iOS 6? The iPad app uses Safari under the covers, and Apple have altered their default image scaling for some images in iOS 6, resulting in some images not displaying in Cognos Mobile. IBM are not listing iOS 6 as a supported platform at the moment. Just wondering if this could be the issue?

MF.
Title: Re: Some AR images not rending via Cognos Mobile - but fine in IE
Post by: JGirl on 14 Oct 2012 09:29:26 PM
Quote from: MFGF on 12 Oct 2012 05:37:00 AM
Did you by any chance update your iPad to run iOS 6?

Nope, I haven't upgraded to iOS 6 yet
Title: Re: Some AR images not rending via Cognos Mobile - but fine in IE
Post by: MFGF on 15 Oct 2012 11:58:05 AM
How did you deliver the active report to the ipad - was it via the 3G cellular network or via wifi? I think some cell providers can do strange things to images to compress them when delivering over 3G. What happens if you connect your iPad to your computer and transfer the Active Report by dropping it into the app in iTunes? Does it render ok then?

MF.
Title: Re: Some AR images not rending via Cognos Mobile - but fine in IE
Post by: JGirl on 15 Oct 2012 06:14:26 PM
Hmmmm interesting thought - I'm delivering as an email attachment via wifi.  I'll test the other method you've suggested & update - but of course I didn't bring the ipad cable today...
Title: Re: Some AR images not rending via Cognos Mobile - but fine in IE
Post by: MFGF on 16 Oct 2012 10:47:21 AM
You can borrow mine - I heve it right here... :)
Title: Re: Some AR images not rending via Cognos Mobile - but fine in IE
Post by: JGirl on 25 Oct 2012 10:04:55 PM
So the plot thickens.  Behaviour is the same over wifi vs mobile network.  If I run the report via Cognos Connection and open on the PC browser, it is fine.  If i send to the iPad as an email attachment and open via IBM Cognos mobile the first and last images in my list are broken.  I've also noticed today that if I run and save the report output and view through Cognos Connection it is fine, yet when I try to view the same saved output through Cognos Business Insight the same images (first and last in my list) are missing.  Any more thoughts?
Title: Re: Some AR images not rending via Cognos Mobile - but fine in IE
Post by: mtirpude on 31 Oct 2012 05:10:32 AM
Hi,

Your image path might be
http://servername/ibmcognos/samples/images/image1.jpg

try to change the path to
../samples/images/image1.jpg

or check if there is any difference with the images which are not rendered. Are they in same format as the other images which are rendered?

Regards,
Manish Tirpude
www.infocepts.com | mtirpude@infocepts.com
Title: Re: Some AR images not rending via Cognos Mobile - but fine in IE
Post by: JGirl on 04 Nov 2012 04:35:11 PM
All 4 of my images are already referenced using the style .../samples/images/image1.jpg , and all images are the same size (in pixels), and the same file format so no obvious differences there. 

Given the the MHT output is self-contained, I just struggle to understand why the images appear just fine when the saved output is opened in the browser, but not when the same saved output is sent to the mobile app and business insight?  Has anyone else had a similar problem?  I'm thinking its probably a bug but thought I'd exhaust all avenues here first before I bother with IBM support.