Bob.Lawson Posted June 21, 2017 Share Posted June 21, 2017 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.JPGbut 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 More sharing options...
elizam Posted June 21, 2017 Share Posted June 21, 2017 $F is only used for fields. Try something like<imageExpression>"\192.168.10.16castitimages200581921.JPG"></imageExpression> Link to comment Share on other sites More sharing options...
Bob.Lawson Posted June 22, 2017 Author Share Posted June 22, 2017 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now