
: Re: How do I add a cover (and other pictures) to my ePub? If I am creating an ePub file by hand, from scratch (following a recipe such as laid out in this question), how would I go about adding
Images in general should be added just as they would be in HTML, with an <img> tag. The image files themselves should then be included in the OEBPS folder or a subfolder (I generally use a subfolder, personally). Each image file will need to be declared in the <manifest> section of the content.opf file. As mentioned in the epub 3.0 specifications, the cover image in particular should also have the cover-image property assigned to it in the <manifest>, like so:
<item id="cover_jpg" properties="cover-image" href="images/cover.jpg" media-type="image/jpeg" />
The <manifest> entry for non-cover images is the same, just without the properties="cover-image" bit.
That's it for plain epub, but some retailers will also ask for a <meta> element in the <metadata> section of the content.opf file declaring the cover, like so (from Amazon's Kindle Publishing Guidelines):
<meta name="cover" content="images/cover.jpg" />
Note that Amazon in particular no longer requires the <meta> bit as long as the properties="cover-image" is correctly declared.
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Ashley

: Can I make custom fonts show up in iBooks? Is it possible to include custom fonts in an ebook and have them show up in iBooks, or can you only use the various default fonts listed on the