View Single Post
Old 01-09-2014, 06:32 AM   #1
bartovan
Junior Member
bartovan began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2014
Device: none
Sigil 0.7.2 cover doesn't show on Sony Reader

Hello everyone,

sorry if this is double posting, I searched around and found related threads but no solution...

I am finishing a book that I want to sell on Amazon and am at the stage of adding my cover in the .epub file in Sigil 0.7.2.
I did everything as I should (I think), using Tools -> Add cover; I have my cover.xhtml and my cover.jpg in place (which is 1563 by 2500 pixels), semantics "cover" allright for both files, in Sigil everything looks fine.

But when I upload to my (a bit old) Sony Reader, no cover at all, and the book starts with two white pages.

Here is my "cover.xhtml":
Code:
<?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>
</head>

<body>
  <div style="text-align: center; padding: 0pt; margin: 0pt;">
    <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1563 2500" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
      <image height="2500" width="1563" xlink:href="../Images/cover.jpg"></image>
    </svg>
  </div>
</body>
</html>
I also tried to inverse the "name" and "content" bits in the content.opf (I found something about that in another thread) so that it says
Code:
<meta name="cover" content="cover.jpg" />
now, fiddled with the height and width parameters, but nothing works.

Please help, I'm really stuck... Many thanks in advance...
bartovan is offline   Reply With Quote