View Single Post
Old 09-15-2011, 09:02 PM   #14
wannabee
Media Bloke
wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.
 
Posts: 2,382
Karma: 113956855
Join Date: Sep 2010
Location: NSW - Australia
Device: iOS
Quote:
Originally Posted by JSWolf View Post
How does one get a covert to show in the iBooks bookcase and to open at the cover? I have some ePub that do not show the cover properly in the bookcase. Thanks.
This is what works for me.
Add the bold meta statement to your opf file refering to the cover image.
Refer to it in the manifest.
To make it open at the cover add the guide statement
Quote:
<?xml version="1.0"?>
<package xmlns="http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/" unique-identifier="bookid" version="2.0">
<metadata>
<meta name="cover" content="cover-image" />
<dc:title>deleted</dc:title>
<dc:creator>deleted</dc:creator>
<dc:creator>deleted</dc:creator>
<dc:subject>breasts</dc:subject>
<dc:subject>breast cancer</dc:subject>
<dc:subject>cancer prevention</dc:subject>
<dc:subject>women's health</dc:subject>
<dc:subject>hormones</dc:subject>
<dc:subject>nutrition</dc:subject>
<dc:subject>diet</dc:subject>
<dc:description>deleted</dc:description>
<dcublisher>deleted</dcublisher>
<dc:date>2011</dc:date>
<dc:source />
<dc:relation />
<dc:coverage />
<dc:rights>All rights reserved</dc:rights>
<dc:identifier id="bookid">urn:uuid:deleted</dc:identifier>
<dc:language>en</dc:language>
<dcublisher>deleted</dcublisher>
</metadata>
<manifest>
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml" />
<item id="bcpg" href="bcpg.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-1" href="bcpg-1.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-2" href="bcpg-2.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-3" href="bcpg-3.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-4" href="bcpg-4.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-5" href="bcpg-5.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-6" href="bcpg-6.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-7" href="bcpg-7.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-8" href="bcpg-8.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-9" href="bcpg-9.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-10" href="bcpg-10.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-11" href="bcpg-11.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-12" href="bcpg-12.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-13" href="bcpg-13.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-14" href="bcpg-14.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-15" href="bcpg-15.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-16" href="bcpg-16.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-17" href="bcpg-17.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-18" href="bcpg-18.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-19" href="bcpg-19.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-20" href="bcpg-20.xhtml" media-type="application/xhtml+xml" />
<item id="cover-image" href="images/your-cover-name.jpeg" media-type="image/jpeg" />
<item id="breast-final-fmt-jpeg" href="images/breast%20final_fmt.jpeg" media-type="image/jpeg" />
<item id="breast-structure-fmt-jpeg" href="images/breast-structure_fmt.jpeg" media-type="image/jpeg" />
<item id="breast1-fmt-jpeg" href="images/breast1_fmt.jpeg" media-type="image/jpeg" />
<item id="breast2-3-fmt-jpeg" href="images/breast2_3_fmt.jpeg" media-type="image/jpeg" />
<item id="breast4-fmt-jpeg" href="images/breast4_fmt.jpeg" media-type="image/jpeg" />
<item id="lymph-nodes-fmt-jpeg" href="images/lymph-nodes_fmt.jpeg" media-type="image/jpeg" />
<item id="css" href="template.css" media-type="text/css" />
</manifest>
<spine toc="ncx">
<itemref idref="bcpg" />
<itemref idref="bcpg-1" />
<itemref idref="bcpg-2" />
<itemref idref="bcpg-3" />
<itemref idref="bcpg-4" />
<itemref idref="bcpg-5" />
<itemref idref="bcpg-6" />
<itemref idref="bcpg-7" />
<itemref idref="bcpg-8" />
<itemref idref="bcpg-9" />
<itemref idref="bcpg-10" />
<itemref idref="bcpg-11" />
<itemref idref="bcpg-12" />
<itemref idref="bcpg-13" />
<itemref idref="bcpg-14" />
<itemref idref="bcpg-15" />
<itemref idref="bcpg-16" />
<itemref idref="bcpg-17" />
<itemref idref="bcpg-18" />
<itemref idref="bcpg-19" />
<itemref idref="bcpg-20" />
</spine>
<guide>
<reference type="cover" href="the-cover-filename.xhtml" />
</guide>

</package>
wannabee is offline   Reply With Quote