Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

xsl-fo pdf printing is not displaying an image!

ICeTOct 3 2017 — edited Oct 5 2017

Hi,

  I have created an xsl-fo report in apex 5.1 & ORDS. the pdf is created fine except it is not displaying the image. the image is uploaded to the static file under shared component.

if I referenced the image using external link, it works fine. any idea on what to do? the image is only 14k and it is .jpg

In the region body,

This works fine:

<fo:table-cell >

<!-- 69e2981267af4feb80838e265493322d -->

<fo:block>

   <fo:external-graphic height="auto" width="auto"

src="http://ziarpiatraneamt.ro/wp-content/uploads/2010/08/ninja.jpg"/> -->

</fo:block>

</fo:table-cell>

but this doesn't work

<fo:table-cell table-layout="fixed"  padding="2pt" display-align="center">

<fo:block text-align="center">

<fo:external-graphic height="auto" width="auto" src="#APP_IMAGES#BARS_SCRIPTS/IMAGES/image.jpg"/>

</fo:block>

</fo:table-cell>

  1. Tried the full path

<fo:table-cell table-layout="fixed"  padding="2pt" display-align="center">

<fo:block text-align="center">

<fo:external-graphic height="auto" width="auto" src="cfc_ws/r/118/files/static/v597/BARS_SCRIPTS/IMAGES/image.jpg"/>

</fo:block>

</fo:table-cell>

appreciate any help!!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 2 2017
Added on Oct 3 2017
9 comments
826 views