[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Header/Footer graphics
Hi, Trying to place graphic images in the header and footer of a document. In my custom layer I am customizing header.content and footer.content Same problem for both header and footer so I will use only the header to explain. I define: <xsl:param name="header.image.filename" select="'../images/logos/tutuka_300x116.png'"/> In header.content: <xsl:when test="$sequence = 'odd' and $position = 'left'"> <fo:external-graphic content-height="1.2cm"> <xsl:attribute name="src"> <xsl:call-template name="fo-external-image"> <xsl:with-param name="filename" select="$header.image.filename"/> </xsl:call-template> </xsl:attribute> </fo:external-graphic> </xsl:when> In output FO I get: <fo:external-graphic src="../images/logos/tutuka_300x116.png" width="auto" height="3cm" content-width="scale-to-fit" content-height="scale-to-fit" content-type="content-type:image/png" text-align="center"/> The path is correct but the image is not displayed. Ideas much welcomed. -- Sean Wheller sean@enbaya.co.za http://www.enbaya.co.za
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]