Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Reference Images on File System
Reference Images on File System [message #783884] Thu, 26 January 2012 11:49 Go to next message
Shane Allred is currently offline Shane Allred
Messages: 23
Registered: January 2012
Junior Member
I am using the BIRT viewer 3.7. I am creating a report that uses pictures of individuals that I do not want to be available through a URL. The report tries to display the picture of each person record in my Data Set. In developing the reports you are able to use "file:///" instead of "http://" to reference a report on the filesystem. This does not work on the BIRT viewer however.

Is there someway to access images on the filesystem. Or is there some way I can avoid putting these images on the Internet/Intranet (http://) to create my report.

I am currently using a URI image (e.g. "http://msmprdrpt.byu.edu:8080/birt/photos/" + row["photo_path"]) but I'd prefer to do something like (e.g. "file:///opt/report/photos/" + row["photo_path"]).
Re: Reference Images on File System [message #783892 is a reply to message #783884] Thu, 26 January 2012 12:09 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Take a look at this post:
http://birtworld.blogspot.com/2010/09/birt-image-report-item.html

Jason

On 1/26/2012 11:49 AM, Shane Allred wrote:
> I am using the BIRT viewer 3.7. I am creating a report that uses
> pictures of individuals that I do not want to be available through a
> URL. The report tries to display the picture of each person record in my
> Data Set. In developing the reports you are able to use "file:///"
> instead of "http://" to reference a report on the filesystem. This does
> not work on the BIRT viewer however.
>
> Is there someway to access images on the filesystem. Or is there some
> way I can avoid putting these images on the Internet/Intranet (http://)
> to create my report.
>
> I am currently using a URI image (e.g.
> "http://msmprdrpt.byu.edu:8080/birt/photos/" + row["photo_path"]) but
> I'd prefer to do something like (e.g. "file:///opt/report/photos/" +
> row["photo_path"]).


Jason Weathersby

BIRT Exchange
Previous Topic:Item expand to page break
Next Topic:Can't Get CSV ODA Plugin to Work
Goto Forum:
  


Current Time: Fri Apr 18 19:20:12 EDT 2014

Powered by FUDForum. Page generated in 0.05106 seconds