Quote:
Originally Posted by DNSB
To me, with using import, it sounded more as if he was importing from the import files option on the Files menu. AFAIR, adding the cover image from the Add Cover under the Tools menu handles the metadata settings and would not require marking as cover image.
|
If I use the Add cover tool to add a cover to a coverless EPUB it creates this titlepage.xhtml:
Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="calibre:cover" content="true" />
<title>Cover</title>
<style type="text/css" title="override_css">
@page {padding: 0pt; margin:0pt}
body { text-align: center; padding:0pt; margin: 0pt; }
</style>
</head>
<body>
<div>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="100%" height="100%" viewBox="0 0 958 367"
preserveAspectRatio="none">
<image width="958" height="367" xlink:href="Screenshot%202023-10-18%20081018.jpg"/>
</svg>
</div>
</body>
</html>
Why would anyone fart-arse around with gobbledegook code when there's a purpose specific tool to do it for you?
I guess you might if you were a goblin.
BR