Images in HTML - how to set base path with PDF & Word Emitters?
We are using BIRT reports to display HTML text stored in a database field and rendered on reports with the dynamic text control. The HTML includes img tags.
We are able to render images referenced in the HTML data only if we store the full path within the HTML content with the PDF and Word emitter. This is problematic as users often move from one server to another and the images no longer have the correct URL.
I haven't found a way to set the base bath for links rendered from HTML data in the PDF or Word emitter. HTML output works fine with relative paths.
Any suggestions?
We are able to render images referenced in the HTML data only if we store the full path within the HTML content with the PDF and Word emitter. This is problematic as users often move from one server to another and the images no longer have the correct URL.
I haven't found a way to set the base bath for links rendered from HTML data in the PDF or Word emitter. HTML output works fine with relative paths.
Any suggestions?
0
Comments
-
Hi eric,
I don't that there will be a built-in way to set a base image path for images in HTML coming from the database. Having said that, maybe your report can be configured to add the base path. I don't know how the images are stored in the HTML, but maybe its possible to prepend the base URL with a javascript statement that looks for the image pattern... then you could pass the base URL in as a parameter.Warning No formatter is installed for the format ipb0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 105 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management