View Single Post
Old 05-19-2015, 08:03 PM   #23
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by gbm View Post
For your cover change:
Spoiler:
Code:
<body>
<p><img alt="Omslagfoto Euromast af-002" src="../Images/Omslagfoto%20Euromast%20af-002.jpg" /></p>
</body>
</html>

to
Spoiler:
Code:
    <body>
        <div>
            <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 xxx XXX" preserveAspectRatio="xMidYMid meet">
                <image width="xxx" height="XXX" xlink:href="../Images/Omslagfoto%20Euromast%20af-002.jpg"/>
            </svg>
        </div>
    </body>
</html>


Find the image width and height using calibre ebook editor, and enter them in-place of the xxx and XXX.

luck
bernie
Sigil/calibre editor has a tool to add a cover page, and will auto-generate an SVG wrapper with the right values.
eschwartz is offline   Reply With Quote