Jump to content

imageExpression and image path - Images not displayed


Bob.Lawson

Recommended Posts

I am trying to display images in a report. To that end I have an imageExpression.

<imageExpression><![CDATA[$F{picture1}]]></imageExpression>

I even included a border to see if it would show up in case there was a problem displaying the image but no luck on that either.

I have tried setting $F{picture1} field to:

  • \192.168.10.16castitimages200581921.JPG
  • //192.168.10.16/castit/images/2005/08/1921.JPG

but with no luck in either case.  The image is stored on a share on a remote computer.  I can navigate to the image using Windows Explorer so I know the image is there.  I can click on the image and display it.

I can past the top path into windows explorer and it displays the image.

Any ideas?

Thanks.

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

The issue is I want to pass in the location of the picture.  I do not always wany to have the same picture.  I have a detail line with two picture positions on it.  I have a cursor with basically two fields(picture1 and picture2).  If I have 4 pictures I would have two rows and so on.

 

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