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

Help: Image does not appear


lsouza

Recommended Posts

The same xml when i use the format PDF is working, but when I use format HTML the image and some fields don't appear.

Why ?? :(

 

My image tag is:

Code:

<image vAlign="Top" onErrorType="Icon"
scaleImage="Clip">
<reportElement width="155" height="48"
y="0" x="0"/>
<graphicElement/>
<imageExpression class="java.lang.String">
"tradeReportLogo.jpg"</imageExpression>
</image>

 

Is this correct?

 

Thanks for any help.

Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Take a look on the generated HTML output and check what the src attribute of the <img> tag contains and look where the images are stored actually.

 

Maybe you need to adjust the location of the images via the export parameter IMAGES_URI. Also take care of the value of IS_OUTPUT_IMAGES_TO_DIR.

Link to comment
Share on other sites

Ok, I'm using webwork that has already a result for Jasper and it's the place they set this parameters.

I think I'll reimplement another result for jasper.

And I also find one of the reasons that i was using the px image, I can set to false the parameter IS_USING_IMAGES_TO_ALIGN.

Link to comment
Share on other sites

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