View Single Post
Old 11-29-2022, 01:18 PM   #1716
klawdiv
Junior Member
klawdiv began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2022
Device: none
Hello, dear forum users.
I created my own jacket with a picture (my exlibris). It loads correctly when I use calibre -> polish book:
Click image for larger version

Name:	CALIBRE-polish books add or replace jacket.jpg
Views:	210
Size:	51.4 KB
ID:	198093

but when I use Modify Epub -> Add/replace metadata jacked the image does not appear:
Click image for larger version

Name:	MODIFY EPUB-add or replace jacket.jpg
Views:	190
Size:	55.3 KB
ID:	198094

In both cases template.xhtml is the same:
Spoiler:
<html xmlns="{xmlns}">
<head>
<title>{title_str}</title>
<meta name="calibre-content" content="jacket"/>
<style type="text/css">{css}</style>
</head>
<body>
<div class="cbj_banner">
<table class="cbj_header">
<tr>
<td class="cbj_title" colspan="2"><b>{title}</b></td>
</tr>
<tr>
<td class="cbj_series" colspan="2">Series<b>: {series.name} [{series.number}]</b></td>
</tr>
<tr>
<td class="cbj_author" colspan="2"><b>{author}</b></td>
</tr>
<tr>
<td class="cbj_author" colspan="2"><hr class="metadata_divider" /></td>
</tr>
<tr>
<td class="cbj_tags" style="text-indent: 7%">{tags}</td>
</tr>
<tr>

</tr>
</table>
</div>
<div class="exlibris"><img src="file:///c:/Users/Klawdiv/AppData/Roaming/calibre/resources/jacket/exlibris.png" alt="exlibris"width="55" hight="55"></div>
<div class="cbj_comments">{comments}</div>

</body>
</html>



Is it my mistake or ME doesn't allow to insert an image?
klawdiv is offline   Reply With Quote