View Full Version : Generic Cover

07-20-2010, 07:17 AM
Is there any format used for Generic Cover in ePub? ie. Whether the cover should be captured as image or can it be just book title and author name?

07-20-2010, 07:40 AM
There is no "cover" per se in the ePUB format. The cover will be just what you put in the first page. However, some reading software will take the first image or some particular code (some <meta> tag in the OPF file) and consider it as a cover image for the purpose of showing a thumbnail, for instace; if they find no image they usually create a generic thumbnail with the author and title automatically.

07-20-2010, 08:58 AM
Most readers and iTunes can interpret the following lines in the content.opf:

<meta name="cover" content="coverimg-id"/>
<item id="coverimg-id" href="images/cover.jpeg" media-type="image/jpeg"/>

And you can add the following lines:

<item id="cover" href="cover.xhtml" media-type="application/xhtml+xml"/>
<reference type="title-page" title="cover" href="44102_cover.xhtml" />