Total Pageviews

April 20, 2017

4/20/2017 12:53:00 AM
Dynamic images in  Oracle BI publisher Reports

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>


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.
 
Related Posts Plugin for WordPress, Blogger...