View Single Post
Old 11-09-2016, 03:38 PM   #14
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,746
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Notjohn View Post
In my experience, that's where the dread double-cover problem arises, when I pointed to the included cover.
How did you point to the include cover (metadata entry and/or guide entry)?

I ran some tests and found out that book designers might end up with two cover images if the cover page html file contains an image link and text.
Contrary to what I stated in my previous post, it appears that KindleGen does not look for a cover guide item, however, it does look for a cover metadata item. For example:

Code:
<meta name="cover" content="cover.png" />
If a metadata cover item is present, KindleGen will delete the cover html page, but only if it doesn't contain additional text.
If this happens KindleGen/Kindle Previewer will display the following message:

Quote:
Info(prcgen):I1052: Kindle support cover images but does not support cover HTML. Hence using the cover image specified and suppressing cover HTML in content. URL: \OEBPS\Text\cover.xhtml
If this message isn't displayed the book will most likely have two cover pages. (To display KindleGen messages click Compilation Details in Kindle Previewer.)

OTOH, if a book contains a cover page guide item and no cover metadata item, the cover menu item will be grayed out.

Here are the 4 most likely occurring possibilities:

CoverTest1.epub: cover.png [X] cover.xhtml [X] cover guide item [ ] cover.png meta item [X] => OK
CoverTest2.epub: cover.png [X] cover.xhtml + additional text [X] cover guide item [ ] cover.png meta item [X] => 2 cover images
CoverTest3.epub: cover.png [X] cover.xhtml [ ] cover guide item [ ] cover.png meta item [X] => OK
CoverTest4.epub: cover.png [X] cover.xhtml [X] cover guide item [X] cover.png meta item [ ] => cover image menu item disabled

Based on my tests, I'd recommend removing the cover html page (after double-checking that a cover metadata item exists), because it isn't needed.
(If the cover html page was created with Sigil, the cover image metadata entry will be automatically created and won't be deleted if the cover html file is deleted.)

If no cover metadata items exists, right-click the cover image and tick Cover Image.
Attached Files
File Type: zip cover_image_test.zip (197.1 KB, 164 views)
Doitsu is offline   Reply With Quote