Can Everton Jones find out how his father stole Emperor Bokassa’s diamonds and, more importantly, where he hid them; before the world and his brother get there first?
Click on the picture link in the sidebar to read an extract of my first novel, which was published by Paradise Press in August 2012.

Wednesday, 2 April 2014

How to link the cover IMAGE in a Kindle e-book

Once you have deleted the html cover, you need to link the cover image so the Kindle can display it at the front of the ebook.

When you deleted the html cover you should have left the cover image behind. Sigil should have correctly entered the cover image in the <manifest> section of content.opf when you imported it. If your epub passed epubcheck you can be absolutely sure that this has been done properly. If you have not already done so, you will need to unpack the epub and open content.opf using an html editor such as Komodo Edit.

Scan down the content.opf file and find the entry for the cover image. Finding it is easier if you gave the file an informative name when you created the epub. Mine was called ‘ebookFront.jpg’. The entry should look something like this:

<item href="Images/ebookFront.jpg" id="ebookFront.jpg" media-type="image/jpeg" />

The text in red is the label (or id) created for the cover image by Sigil. The example in the Amazon Kindle Publishing Guidelines uses id="my-cover-image", but that is just a label. There is no reason why you can’t use the label/id created by Sigil instead.

To link the cover image for the Kindle, add the following line to the END of the <metadata> section of the content.opf file:

<meta name="cover" content="ebookFront.jpg" />

Note that the text in red is the id/label assigned to the cover image file by Sigil and must exactly match the item in red in the entry above in the <manifest>.

The item: name="cover" MUST be entered EXACTLY as it is shown.

And that’s it! The cover image will now be displayed at the front of the ebook by Kindle e-readers.

update: 26 May 2014:

I’ve just been making a new ebook and when I came to do this step the entry <meta name="cover" content="ebookFront.jpg" /> was already made in the manifest for me by Sigil. You might just have to check it is correct! The order of the items name="cover" and content="ebookFront.jpg" does not matter.

update ends

You might well be wondering why on Earth I am advising you to first create an html cover and then delete it. Well, if all you want is a Kindle e-book, then you just might have a point. However kindlegen needs an epub file as input, so you are going to have to make an epub first: it is a necessary step in making your Kindle. In most cases you will want BOTH an epub AND Kindle version of your e-book so you can sell it on all platforms. The epub needs an html cover and the Kindle doesn’t. You will need to check that your epub is correctly formatted before converting it for Kindle and if you have an image in there which isn’t used epubcheck will throw out an error. It really is the line of least resistance to make a properly formatted epub, complete with an html cover, and then convert that as outlined in these posts to a Kindle. Along the line the html cover needs to be deleted.

Index to ‘how to …’ posts:

How to ‘unpack’ an epub file to edit the contents and see what’s inside.
How to understand what is inside an epub
How to link the html table of Contents in a Kindle e-book
How to restructure the html table of contents for a Kindle
How to delete the html cover for a Kindle ebook
How to link the cover IMAGE in a Kindle e-book
How to clean up your MS Word file before your get started
How to markup an MS Word file to identify the formats before importing it into an epub
How to create a new blank e-pub using Sigil
How to import your marked-up MS Word file into your ebook using Sigil
How to create and link a CSS stylesheet in an e-book using Sigil
How to replace the markup with CSS styles in your ebook using Sigil
How to style an e-book so it works with the limited CSS styling available to Kindle e-readers
How to understand the syntax of CSS
How to style Small Caps in an e-book
How to split your ebook up into chapters using Sigil
How to sequence your e-book
How to phrase the copyright declarations etc. in an e-book
How to generate the logical table of contents using Sigil
How to understand toc.ncx in an e-book
How to generate the html table of contents in an e-pub
How to style the html table of contents using CSS
How to create an html cover for your epub using Sigil
How to present references and notes in a book
How to use Mark Up to link notes in your e-book
How to present a bibliography in a book
How to use markup to link entries in a bibliography with the notes section
How to index an e-book
How to use the tools in MS Word to create an index
How to alphabetise an index or bibliography
How to adapt the print index in your MS Word file for an e-book using markup
How to adapt cross-references in your print index for e-book and how to use markup to make the links
How to understand content.opf
How to understand and edit the Metadata of an ebook using Sigil
How to understand the manifest in content.opf
How to understand the spine and guide in content.opf
How to test your e-pub using flightCrew in Sigil
How to test your e-pub using epubcheck
How to convert an e-pub to Kindle using kindlegen

TinyURL for this post:


  1. Your content is nothing short of brilliant in many ways. I think this is engaging and eye-opening material. Thank you so much for caring about your content and your readers. e-read

  2. Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts. seo expert


Twitter Bird Gadget