Although the task seems relatively easy, the information available is too vague and you might find yourself struggling to understand what needs to be done, specially if you are just getting started with BI Publisher. In order to display a BLOB image in the report template RTF (using MS Word BI Publisher Plugin), follow the next steps:
- Insert the field as usual.
- Double-click on the field and replace the code for something like:
<fo:instream-foreign-object content-type=”image/jpg” height=”3.25 in” width=”2.5 in”><xsl:value-of select=”.//PASSPORT_PICTURE”/></fo:instream-foreign-object>
Please note that the xsl:value-of select=”.//PASSPORT_PICTURE” is using XPATH so .// stands because in my data model, the picture within a 2 levels nested collection.
That is all!