Jump to content
JasperReports Library 7.0 is now available ×

Recommended Posts

By: karthika - karthika

image

2004-05-19 02:23

I did nt use any image in myreport.But the html view does not show perfectly.what wrong i made with it

 

 

By: newbieAndreas - andreas_siebold

RE: image

2005-03-11 04:24

To show the html's correctly you need the little"px"file.

 

Look in your html code, where the image "px" should be used for keeping the reports design.

(In the code is it's path) Then check the path to px. If it is not there, there's your problem. Tell Jasper to put it there,

 

Example:

exporter.setParameter(JRHtmlExporterParameter.IMAGES_DIR, "here your path");

perhabs you will need this to: exporter.setParameter(JRHtmlExporterParameter.IS_OUTPUT_IMAGES_TO_DIR, Boolean.TRUE);

 

 

or

copy it manually to a folder and tell jasper to take it from there.

Example:

you copy px in defaultroot/images

exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, "images\");

 

 

Greetz...

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...