Jump to content
We've recently updated our Privacy Statement, available here ×

Images in HTML Output


2004 IR Help

Recommended Posts

By: Karl Coleman - kombatkarl

Images in HTML Output

2005-02-28 11:37

My images our not appearing in HTML, but they are in PDF. When I view the source of the generated HTML it seems to be looking for an img_1 file and I see that the samples have these files as well. What are these and how do I generate them? What am I doing wrong?

 

Thanks,

Karl

 

 

 

 

By: Karl Coleman - kombatkarl

RE: Images in HTML Output

2005-03-01 06:41

To further clarify, I am not talking about exporting a report, but rather I am dynamically creating it in my application. When I view source it shows it looking for the image at /my_app_name/images/img_1. Now what happens if I have several reports and the first image on the report isn't the same as another report? Won't the wrong images appear?

 

Karl

 

 

 

 

By: ToRaX - torax

RE: Images in HTML Output

2005-03-03 00:43

Did you include the image servlet to your project?

 

 

 

 

By: Sualeh Fatehi - sfatehi

RE: Images in HTML Output

2005-03-04 05:06

Disable images in HTML:

 

JRHtmlExporter exporter = new JRHtmlExporter();

exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);

exporter.setParameter(JRExporterParameter.OUTPUT_FILE, outputFile);

exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, Boolean.FALSE);

exporter.setParameter(JRHtmlExporterParameter.HTML_HEADER, "");

exporter.setParameter(JRHtmlExporterParameter.HTML_FOOTER, "");

exporter.exportReport();

 

 

 

 

By: sonia - sonia-list

RE: Images in HTML Output

2005-03-07 12:37

When you design an xml an overlap two objects f.e. an red square and you put overthere a textbox the square don't apear in you html but it will in your pdf, so my advice is review if maybe your image is ovelap with other object.

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...