Quote:
Originally Posted by georg3200
I think we will try to automatically add the "iTunesArtwork" - file to the epub with the help of our software. This is a workaround that should work.
|
The cover art for epubs will display correctly, if the following line is present in the metadata section of the content.opf file:
<meta name="cover" content="cover.jpg" />
The cover should be named cover.jpg and its location should be specified in the manifest section of the content.opf file:
<item id="cover.jpg" href="Images/cover.jpg" media-type="image/jpeg" />
With these two entries in one file, the cover will display properly. There's no need to add art in iTunes, or add an "iTunesArtwork" file. iTunes will add that file itself when a properly formatted ePub is added to a library.
For those using the latest version of Sigil, open the Images folder, right click on the cover.jpg file, select Add Semantics then Cover Image. When Cover Image is checked, Sigil will add the above lines itself, no further editing needed.
EDIT: I believe that sometime after the iPad was released, Calibre was updated to add the above lines to an ePub file by default.
As for standards, the two lines are utterly standard ePub markup, cause the cover to display in iBooks, and cause no problems with any other ePub reader (AFAIK).