Background image on cover page
Posted: Wed Apr 27, 2016 10:53 pm
Hello,
I am trying to have a background image that takes the entire cover page. The reason I want it in background is to have the title, revision etc, in front of the image. Presently I can have either the image, or the text. I took a look at the watermark post, but I could not figure out how to modify the statics-content file. I changed tactic.
so :
in my front-matter.xsl file I have this:
[Codebox=]<fo:block-container xsl:use-attribute-sets="__frontmatter__logo__container">
<fo:block xsl:use-attribute-sets="__frontmatter__logo">
<fo:external-graphic src="url(Customization/OpenTopic/common/artwork/coverpage.png)"/>
</fo:block>[/Codebox]
I was hoping to add something like background-image in the container, but I could not figure where to put it, and how.
my front-matter- attr.xsl has
[Codebox=]<xsl:attribute-set name="__frontmatter__logo__container">
<xsl:attribute name="position">absolute</xsl:attribute>
<xsl:attribute name="top">0in</xsl:attribute>
[/Codebox]
Regards
I am trying to have a background image that takes the entire cover page. The reason I want it in background is to have the title, revision etc, in front of the image. Presently I can have either the image, or the text. I took a look at the watermark post, but I could not figure out how to modify the statics-content file. I changed tactic.
so :
in my front-matter.xsl file I have this:
[Codebox=]<fo:block-container xsl:use-attribute-sets="__frontmatter__logo__container">
<fo:block xsl:use-attribute-sets="__frontmatter__logo">
<fo:external-graphic src="url(Customization/OpenTopic/common/artwork/coverpage.png)"/>
</fo:block>[/Codebox]
I was hoping to add something like background-image in the container, but I could not figure where to put it, and how.
my front-matter- attr.xsl has
[Codebox=]<xsl:attribute-set name="__frontmatter__logo__container">
<xsl:attribute name="position">absolute</xsl:attribute>
<xsl:attribute name="top">0in</xsl:attribute>
[/Codebox]
Regards