View Single Post
Old 05-21-2018, 09:27 AM   #1
prkumar
Junior Member
prkumar began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2018
Device: iBook
How to add image logo to the header when converting to pdf

Calibre does a very good job of converting ePUB to pdf. One thing I am still not able to achieve is to add an image (like a logo) to the header.
Is it supported?

I tried something like:
--pdf-header-template "<table><tr><td width='30%'><img src='EPUB/img/logo.png'/></td><td width='40%' align='center'>Some Title</td><td width='30%' align='right'>Jan 21, 2018</td></tr></table>"

Tried various path in src attribute if img tag but to no avail.

Is there any plan to add this in case it is not supported yet?

Thanks
prkumar is offline   Reply With Quote