View Single Post
Old 12-20-2011, 02:29 PM   #1
osiris12
Junior Member
osiris12 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2011
Device: IPAD, Kindle fire
Page blank before and after book image page

Hello - First time epub writer. I have a manuscript that has 2 html pages: Cover.html and book.html

When I just create an epub from the book, all is fine but I want the first page to be the cover image. So my content.opf looks like the text below, but there is always a blank page on page 1 then the image appears on page 2 than another blank page before the book starts. Seems like the cover.html page is inserting page breaks before and after that html loads. Is there anyway to stop this?

This is the content.opf file. Any help would be appreciated. Thanks.

?xml version="1.0" encoding="utf-8" standalone="yes"?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookID" version="2.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlnspf="http://www.idpf.org/2007/opf">
<dc:identifier id="BookID" opf:scheme="UUID">b778c5ff-6a7f-406b-ae4a-62a1b1b72634</dc:identifier>
<dc:title>book title1</dc:title>
<dc:identifier opf:scheme="ISBN"></dc:identifier>
<dc:subject>Science Fiction&amp;Fantasy</dc:subject>
<dc:creator opf:role="aut">aaa</dc:creator>
<dc:description>test</dc:description>
<dcublisher>aaai</dcublisher>
<dc:date opf:event="publication">2011-12-20</dc:date>
<dc:language>en</dc:language>
<meta name="cover" content="CoverImage.jpg" />
<meta content="0.4.903" name="Sigil version" />
</metadata>
<manifest>
<item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml" />
<item href="Images/CoverImage.jpg" id="CoverImage.jpg" media-type="image/jpeg" />
<item href="Text/CoverPage.html" id="CoverPage.html" media-type="application/xhtml+xml" />
<item href="Text/book.htm" id="book.htm" media-type="application/xhtml+xml" />
</manifest>
<spine toc="ncx">
<itemref idref="CoverPage.html" />
<itemref idref="book.htm" />
</spine>
<guide>
<reference href="Text/CoverPage.html" title="Cover" type="cover" />
</guide>
</package>

Last edited by osiris12; 12-20-2011 at 02:31 PM.
osiris12 is offline   Reply With Quote