Skip to main content



      Home
Home » Archived » BIRT » URI Expression for Image
URI Expression for Image [message #76337] Wed, 21 September 2005 17:45 Go to next message
Eclipse UserFriend
I am having trouble getting an image from a URL in my reports. I see this
is a FAQ in the uncategorized section, but the answer doesn't spell it out
well enough for me I guess.

Can anyone give me an example of an actual expression that will work for
putting an image in a report from a URL? Whatever I put in there either
gives me a "failed to evaluate" error or just nothing shows up at all. This
is despite the fact that the preview window where I set the URI displays the
image, as does the template in Eclipse.

Thanks in advance,

Floor
Re: URI Expression for Image [message #76672 is a reply to message #76337] Thu, 22 September 2005 17:08 Go to previous messageGo to next message
Eclipse UserFriend
Since the URI is an expression, not a String, I tried making a report
parameter called myCompanyLogo, giving it a default value of the URL to my
image, then setting the image URI to be params["myCompanyLogo"]. I thought
I had an expression that would've worked, but the image still doesn't show
up on the report.

--floor

"floor" <floorflux@hotmail.com> wrote in message
news:dgskcc$tl9$1@news.eclipse.org...
>I am having trouble getting an image from a URL in my reports. I see this
>is a FAQ in the uncategorized section, but the answer doesn't spell it out
>well enough for me I guess.
>
> Can anyone give me an example of an actual expression that will work for
> putting an image in a report from a URL? Whatever I put in there either
> gives me a "failed to evaluate" error or just nothing shows up at all.
> This is despite the fact that the preview window where I set the URI
> displays the image, as does the template in Eclipse.
>
> Thanks in advance,
>
> Floor
>
Re: URI Expression for Image [message #76800 is a reply to message #76672] Fri, 23 September 2005 10:26 Go to previous messageGo to next message
Eclipse UserFriend
floor,

Have you tried using a local file and then c\testdir\pic.jpg?

Jason Weathersby
BIRT PMC

"floor" <floorflux@hotmail.com> wrote in message
news:dgv6jq$a06$1@news.eclipse.org...
> Since the URI is an expression, not a String, I tried making a report
> parameter called myCompanyLogo, giving it a default value of the URL to my
> image, then setting the image URI to be params["myCompanyLogo"]. I
> thought I had an expression that would've worked, but the image still
> doesn't show up on the report.
>
> --floor
>
> "floor" <floorflux@hotmail.com> wrote in message
> news:dgskcc$tl9$1@news.eclipse.org...
>>I am having trouble getting an image from a URL in my reports. I see this
>>is a FAQ in the uncategorized section, but the answer doesn't spell it out
>>well enough for me I guess.
>>
>> Can anyone give me an example of an actual expression that will work for
>> putting an image in a report from a URL? Whatever I put in there either
>> gives me a "failed to evaluate" error or just nothing shows up at all.
>> This is despite the fact that the preview window where I set the URI
>> displays the image, as does the template in Eclipse.
>>
>> Thanks in advance,
>>
>> Floor
>>
>
>
Re: URI Expression for Image [message #76929 is a reply to message #76800] Fri, 23 September 2005 15:30 Go to previous message
Eclipse UserFriend
I cut my image out of the Simple Master Page Header and pasted it into the
Body page and it shows up fine now. It looks like, at least for me, images
in the Simple Master Page don't work but they do in the Body. If I paste it
back into the Master Page it doesn't show up again.

--floor

"Jason Weathersby" <jweathersby@actuate.com> wrote in message
news:dh13b4$k74$1@news.eclipse.org...
> floor,
>
> Have you tried using a local file and then c\testdir\pic.jpg?
>
> Jason Weathersby
> BIRT PMC
>
> "floor" <floorflux@hotmail.com> wrote in message
> news:dgv6jq$a06$1@news.eclipse.org...
>> Since the URI is an expression, not a String, I tried making a report
>> parameter called myCompanyLogo, giving it a default value of the URL to
>> my image, then setting the image URI to be params["myCompanyLogo"]. I
>> thought I had an expression that would've worked, but the image still
>> doesn't show up on the report.
>>
>> --floor
>>
>> "floor" <floorflux@hotmail.com> wrote in message
>> news:dgskcc$tl9$1@news.eclipse.org...
>>>I am having trouble getting an image from a URL in my reports. I see
>>>this is a FAQ in the uncategorized section, but the answer doesn't spell
>>>it out well enough for me I guess.
>>>
>>> Can anyone give me an example of an actual expression that will work for
>>> putting an image in a report from a URL? Whatever I put in there either
>>> gives me a "failed to evaluate" error or just nothing shows up at all.
>>> This is despite the fact that the preview window where I set the URI
>>> displays the image, as does the template in Eclipse.
>>>
>>> Thanks in advance,
>>>
>>> Floor
>>>
>>
>>
>
>
Previous Topic:Review BIRT 2.0 feature - Dynamic Parameter Selection (BPS 14 )
Next Topic:a error!help
Goto Forum:
  


Current Time: Sun May 11 10:38:51 EDT 2025

Powered by FUDForum. Page generated in 0.03699 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top