COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: WKar on 13 Feb 2009 06:15:14 PM

Title: Adding an Image
Post by: WKar on 13 Feb 2009 06:15:14 PM
This may be a dumb question, but I want to add an image to a report.  Its saying there is a "web server error" (see attached) so it won't allow me to browse for an image.  The image I want to add resides on my computer.  What do I need to do, or where do I need to put my image in order to add it to my report??

Thanks so much
Title: Re: Adding an Image
Post by: blom0344 on 14 Feb 2009 12:26:51 PM
There is a special folder in the Cognos install directory on the server. You should place your images there. (and point to the location from the report)

Remember that Cognos8 is webbased, your client is only used for browsing the C8 content and for displaying report (in any mode)
Title: Re: Adding an Image
Post by: Gollapudi on 02 Mar 2009 11:37:18 PM
Hi,


Just place your image in <Installed Drive>/Program Files/cognos/c8/webcontent/samples/images
and then drag and drop a image and specify the path of your image along with the extention of your image file.

Ex: ../samples/images/image.jpg


Thanks,
Venu.
Title: Re: Adding an Image
Post by: Cynthia on 18 Mar 2010 11:38:14 AM
Hey thanks for this... been trying to figure out how to get a relative path for the images and this works great!  :)
Title: Re: Adding an Image
Post by: dhavcog on 21 Mar 2010 06:48:43 PM

Hey,, i am having same problem,, and i been searching this for a long time..

can you please post your solution.

How can i define Relative path ?

thanks,
dhav
Title: Re: Adding an Image
Post by: Gollapudi on 28 Mar 2010 02:21:50 AM
Hi Dhav,

If you see in my example path  [Ex: ../samples/images/image.jpg] there are two dots [..] that itself will define the server path, the report is from which ever is the cognos server it will refer to that path, and it directly means that <CogServer> C:\cognos8\Webcontent\Samples\images\image.jpg

Thanks,
Gollapudi