Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Dynamic image printing issue

Received Response
33
Views
1
Comments

Summary

Dynamic image printing issue

Content

Hi All,

I am using BI publisher integrated in Oracle Apex to print some documents. By following Marc's  blog I could successfully print dynamic images in a document. However, I find it strange that the images are getting printed only if it is inside a table. If we place the image outside the table then it is not printing the images. Can anyone help me to understand why this behavior?

  • I am using BI Publisher MS Word plugin to create the RTF template
  • The images are coming from a table and passed via XML data after converting BLOB to base64 value

Thank you,

Kalesh

Answers

  • Ravi Kalesh
    Ravi Kalesh Rank 2 - Community Beginner

    The reason why it did not work for me outside the table was because I was supposed to add the below code

    <fo:instream-foreign-object content-type="image/jpg">
      <xsl:value-of select="ROWSET/ROW/IMAGE1"/>
    </fo:instream-foreign-object>

    instead of the below which will work inside the table (due to the correct path of the xml data field)

    <fo:instream-foreign-object content-type="image/jpg">
       <xsl:value-of select="IMAGE1"/>
      </fo:instream-foreign-object>