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

How to set up a absolute image pathname ?


tt_linux

Recommended Posts

hi,

I am using iReport v1.2.4

 

I have a report that uses a jpeg image in the title band.

In the image expression field, it ask for a absolute pathname, as in, /home/name/report/.../.jpg

 

Now, when i move the report to another computer, it becomes invalid. How can i set it up as a relative pathname instead ?

 

Or if not possible, how do i get around this problem.

 

Please help.

 

thanks,

Tony

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

you have a number of options.

 

but you tell us nothing about your environment,

so i will guess.

 

1. keep the images in the database & download them when needed

2. keep them in the jar file ,if you are using java

3. distribute them with your app, and pass in a URL to the image area, instead of hardcoding it in the report.

 

4. tell us more about the environment, to save us guessing

Post edited by: code_slave, at: 2006/09/06 23:36

Link to comment
Share on other sites

  • 5 months later...

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