The PDF style plug-in allows a cover image to be specified for inclusion on the title page, but the current implementation renders the image as part of the page content below <mainbooktitle> & <booktitlealt>, so the image only appears if it fits within the available space.
In cases where cover images require exact placement, it is often better to define them as page backgrounds so they are consistently rendered in the same position, independent of title page content.
It would be helpful if the GUI included an option to enable this behavior and specify background position (perhaps Use as background and Offset from [top|left]?).
The result could modify front-matter.xsl by adding an fo:block-container at the beginning of xsl-region-body like this:
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/970136-add-option-to-treat-pdf-cover-image-as-page-background?utm_campaign=plugin&utm_content=tracker%2F180251&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F180251&utm_medium=issues&utm_source=github).
The PDF style plug-in allows a cover image to be specified for inclusion on the title page, but the current implementation renders the image as part of the page content below
<mainbooktitle>
&<booktitlealt>
, so the image only appears if it fits within the available space.In cases where cover images require exact placement, it is often better to define them as page backgrounds so they are consistently rendered in the same position, independent of title page content.
It would be helpful if the GUI included an option to enable this behavior and specify background position (perhaps Use as background and Offset from [top|left]?).
The result could modify
front-matter.xsl
by adding anfo:block-container
at the beginning ofxsl-region-body
like this: