Oracle BI Publisher reports: Generating A Dynamic Image
Sample Code For Generating A Dynamic Image
Please make adjustment as per your requirement
<fo:instream-foreign-object content-type=”image/pjpeg” height="1 in" width="4 in">
<xsl:value-of select=”.//PICTURE_DATA”/>
</fo:instream-foreign-object>
<fo:instream-foreign-object content-type=”image/pjpeg” height="1 in" width="4 in">
<xsl:value-of select=”.//PICTURE_DATA”/>
</fo:instream-foreign-object>
where
image/jpg
is the MIME type of the image (other options might be: image/gif and image/png)
and
PICTURE_DATA
is the element name of the BLOB in your XML data.
Note: Height and width attributes can be specified for the image to set its size in the published report. XML/BI Publisher will scale the image to fit the box size defined.