View Full Version : Broken ebook cover in Nook Press


EbookNoob
05-09-2013, 12:45 PM
I was wondering if any had any suggestions for my problem. I uploaded my ebook to nook press after testing it out on multiple versions of the nook. I worked great on all the different nooks but when I upload the epub files to nook press the embedded cover image within the files shows up as a generic picture with a crack through it. This must be their default image for an uploaded image that cannot be read correctly. This is not the cover image I uploaded separately, that displays fine. I am not sure if something is missing within the code but all other images in the book display properly. When I go to the preview viewer it shows the separately uploaded cover first and then the embedded cover which is not displaying the image and then the title page. My cover.htm page looks like this:

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Cover</title>

<style type="text/css">
@page {padding: 0pt; margin:0pt} body { text-align: center; padding:0pt; margin: 0pt; }
</style>
</head>

<body>
<div>
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYmid meet" version="1.1" viewBox="0 0 1280 1920" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image height="1920" width="1280" xlink:href="../Images/7mm_1_high.jpg"></image>
</svg>
</div>
</body>
</html>

dgatwood
05-11-2013, 02:15 AM
I haven't worked with Nook Press, but I wouldn't be surprised if something like that ignored the HTML cover entirely. Do you have an image cover item in your manifest? e.g.

<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
...
<meta name="cover" content="cover-image"/>
</metadata>
<manifest>
...
<item id="cover-image" href="OEBPS/Images/7mm_1_high.jpg" media-type="image/jpeg"/>
...
</manifest>