Skip to main content



      Home
Home » Archived » BIRT » Images in chart report not seen when sent in emails
Images in chart report not seen when sent in emails [message #249355] Sun, 22 July 2007 23:22 Go to next message
Eclipse UserFriend
Originally posted by: hijaysh.gmail.com

Hi

I am currently using BIRT 2_2_0 ReportEngine API in my web-app to generate
chart reports.

When i generate chart reports and send it by mail, the chart image in the
generated report has my server url.( e.g
http://server:host/webapp/image-dir/image.jpg).
So obviously, if my server is down, chart images are not shown in the
generated report.
[I have been using HTMLRenderOptions.setBaseImageURL and setImageDirectory
methods for images to be rendered in HTML ]

Just wanted to know if there are any other way to embed the chart
image[using RE api] in the generated report so the images would appear
even if the server is down.

Need this to send the generated report to users by email and it doesnt
make much sense to tell them that the image wud appear only if the server
is up!

Any help would be highly Appreciated.

Jayashree
Re: Images in chart report not seen when sent in emails [message #249988 is a reply to message #249355] Thu, 26 July 2007 08:09 Go to previous messageGo to next message
Eclipse UserFriend
IE should let you save the html pages with images, so it will download the
images as well. You would have this kind of problem with any web page. Then
you need to send the whole folder including the images by email.

A better way is to output to PDF, and send the PDF.

Thanks,

David

"Jayashree" <hijaysh@gmail.com> wrote in message
news:c5551a3bf2a2a3ced412871df1763dd2$1@www.eclipse.org...
> Hi
>
> I am currently using BIRT 2_2_0 ReportEngine API in my web-app to generate
> chart reports.
>
> When i generate chart reports and send it by mail, the chart image in the
> generated report has my server url.( e.g
> http://server:host/webapp/image-dir/image.jpg).
> So obviously, if my server is down, chart images are not shown in the
> generated report.
> [I have been using HTMLRenderOptions.setBaseImageURL and setImageDirectory
> methods for images to be rendered in HTML ]
>
> Just wanted to know if there are any other way to embed the chart
> image[using RE api] in the generated report so the images would appear
> even if the server is down.
>
> Need this to send the generated report to users by email and it doesnt
> make much sense to tell them that the image wud appear only if the server
> is up!
>
> Any help would be highly Appreciated.
>
> Jayashree
>
>
>
>
Re: Images in chart report not seen when sent in emails [message #249998 is a reply to message #249988] Thu, 26 July 2007 08:16 Go to previous message
Eclipse UserFriend
Well Firefox provides another alternative. You can embed the image in
the src attribute: http://en.wikipedia.org/wiki/Data:_URI_scheme


Tom

David Michonneau schrieb:
> IE should let you save the html pages with images, so it will download the
> images as well. You would have this kind of problem with any web page. Then
> you need to send the whole folder including the images by email.
>
> A better way is to output to PDF, and send the PDF.
>
> Thanks,
>
> David
>
> "Jayashree" <hijaysh@gmail.com> wrote in message
> news:c5551a3bf2a2a3ced412871df1763dd2$1@www.eclipse.org...
>> Hi
>>
>> I am currently using BIRT 2_2_0 ReportEngine API in my web-app to generate
>> chart reports.
>>
>> When i generate chart reports and send it by mail, the chart image in the
>> generated report has my server url.( e.g
>> http://server:host/webapp/image-dir/image.jpg).
>> So obviously, if my server is down, chart images are not shown in the
>> generated report.
>> [I have been using HTMLRenderOptions.setBaseImageURL and setImageDirectory
>> methods for images to be rendered in HTML ]
>>
>> Just wanted to know if there are any other way to embed the chart
>> image[using RE api] in the generated report so the images would appear
>> even if the server is down.
>>
>> Need this to send the generated report to users by email and it doesnt
>> make much sense to tell them that the image wud appear only if the server
>> is up!
>>
>> Any help would be highly Appreciated.
>>
>> Jayashree
>>
>>
>>
>>
>
>


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Previous Topic:Parameterizing Date Grouping in Charts
Next Topic:Issue with Birt 2.2 and WebSphere 6.1 when using Application Security
Goto Forum:
  


Current Time: Wed Jul 30 19:13:35 EDT 2025

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

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

Back to the top