如何通过将 rails 应用程序上的 ruby 中的图像 URL 发送到 BIRT 报告生成器来动态呈现图像?

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

我正在尝试通过 rails 应用程序上的 ruby 通过 CSV 文件(数据源)发送图像 url 来动态加载 BIRT 报告中的图像。

URL 是亚马逊 AWS s3 url,图片是 jpeg 格式。 BIRT报告中的错误显示"Resource of this item is not reachable".

但是,静态嵌入 url 图像有效。

知道了!首先,我发送了一个 'https' URI。应该不是。

其次,在数据集高级设置中的图像源中,URI 和渲染值必须分配路径!