Ash Kashyap
Ash Kashyap

Reputation: 51

How to dynamically render image by sending image URL from ruby on rails application to BIRT report generator?

I am trying to dynamically load an image in the BIRT report by sending the image url through CSV file(data source) from the ruby on rails application.

The URL is an amazon AWS s3 url and image is in jpeg format. The error in the BIRT report shows "Resource of this item is not reachable".

However, a statically embedded url of an image works.

Upvotes: 0

Views: 1116

Answers (1)

Ash Kashyap
Ash Kashyap

Reputation: 51

Got it! First I was sending a 'https' URI. It must not be.

Second, In the image source in dataset advanced settings the URI and On Render value must be assigned with the path !

As shown here

Upvotes: 1

Related Questions