Question About Adding Image Covers vs Conversion Only
When I add a book cover to a file and then convert, the result is different HTML codes than when I just convert a file. Is there any way I can have this be consistent and get the same HTML codes I get when adding a book cover and converting? I prefer the way the cover images look with the code listed below.
Example of the code I'd like to get when I just convert files, so I don't have to edit manually every converted file in which I didn't add a cover image:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta name="calibre:cover" content="true"/>
<title>Cover</title>
<style type="text/css" title="override_css">
@page {
padding: 0;
margin: 0;
}
body {
text-align: center;
padding: 0;
margin: 0;
}
div {
padding: 0;
margin: 0;
}
img {
padding: 0;
margin: 0;
}
</style>
</head>
<body>
<div>
<img src="cover.jpeg" alt="cover" style="height: 100%"/>
</div>
Thanks for any help with this!
Last edited by deback; 10-23-2017 at 03:04 PM.
|