Skip to main content



      Home
Home » Archived » BIRT » Embedded image does not show up in html report
Embedded image does not show up in html report [message #184214] Thu, 10 August 2006 14:23 Go to next message
Eclipse UserFriend
While creating a report I embedded an image in the report design. However,
after running the report, the HTML does not show the image. Also when I
look at the source code, this is what I found:
<div>
<img id="AUTOGENBOOKMARK_2" src="images\design1" alt="">
</div>

The image shows up perfectly in the PDF report. What do I need to do to
show the image in the html file.

thanks
Bidyut
Re: Embedded image does not show up in html report [message #184217 is a reply to message #184214] Thu, 10 August 2006 16:44 Go to previous messageGo to next message
Eclipse UserFriend
I had this problem recently too.

First thing to do, check to see where its putting the image. On my app, I
had it configured to go to my projects webapp/images folder. The problem
I had was that eclipse caches your filestrucure/files(not sure which) and
when you run webtools or whatever server, generally this "cached"
directory is where it points to. So until you update/republish your app,
it won't know the file was created. I fixed the issue but pointing my
server to the my project folder directly and giving it a context root of
/webapp.

See if that works.
Re: Embedded image does not show up in html report [message #184219 is a reply to message #184217] Thu, 10 August 2006 18:00 Go to previous messageGo to next message
Eclipse UserFriend
Thanks.

I did figure it out and set it appropriately. It works fine now. However,
what happend when the app is deployed in a cluster environment?
Re: Embedded image does not show up in html report [message #184240 is a reply to message #184219] Fri, 11 August 2006 09:59 Go to previous message
Eclipse UserFriend
Do you use birt as a stand alone app or do you package it in your WAR? I
package it inside our WAR, so once you deploy it to the cluster, each app
will be using an identical copy of the war. When one app server receives
a request, it will create the image in its own /webapp/images directory.
Your user should have a session and have the same server throughout the
entire session, so once the action is called and the report is created,
the image will be on the same app server in the cluster they are using.
Previous Topic:birt-viewer on linux/tomcat return blank page when generating PDF
Next Topic:How to Build BIRT from CVS
Goto Forum:
  


Current Time: Sat Jul 19 18:43:47 EDT 2025

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

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

Back to the top