[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Header/Footer graphics
Did you allocate sufficient space in your header for the graphic? See: http://www.sagehill.net/docbookxsl/PrintHeaders.html#HeaderHeight Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Sean Wheller" <sean@enbaya.co.za> To: <docbook-apps@lists.oasis-open.org> Sent: Thursday, October 13, 2005 10:49 AM Subject: [docbook-apps] 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 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]