Home
Analytics
Embedded image using relative URL and not rendering properly
brian001
Hi all, first time posting so thanks for any help anyone is willing to provide. I'm new to BIRT.
We're using a vendor that is hosting our BIRT reporting environment for us. My problem is that when we've designed reports with embedded images, those images show broken image icons when the report is delivered to the end user by email. The same report renders fine when it's PDF.
Here's what I believe to be the cause. Embedded images use relative URL's to source the file. Relative URL's are fine for PDF's because the rendering occurs on the server and is then emailed. They are not fine for HTML reports because rendering happens in the browser on the user's local machine and references to the host environment lose their significance.
Here's an example of what's in the html report.
<img alt="" src="/VendorName/report/images?image=design4afd514012c5f7ef6351" id="AUTOGENBOOKMARK_2">
If I view the file in Firebug and modify the URL to be fully qualified then the image renders correctly.
My question is does anyone know how to change the behavior of embedded images so that they produce fully qualified URL's instead of relative. Is this possible a change to a config file on the server that we could request from our vendor.
Thanks for any recommendations.
Brian
Find more posts tagged with
Comments
mwilliams
Hi Brian,
Could you modify your design to use the embed functionality when doing PDF and use the full URL image when doing HTML?