Quote:
Originally Posted by Faster
Code:
<body>
<div>
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 600 800" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image height="800" width="600" xlink:href="../Images/cover.jpg"></image>
</svg>
</div>
</body>
With regard to some of the procedures suggested above, you don't need to bother. Just do what I indicated. Calls to the missing .xpgt file, which I asked you to delete, are simply ignored. You don't need to remove all the calls.
Book checked and working as desired on a Sony PRS650.
Please check your mail box as I've sent you a PM.
|
It is a much better idea to remove the page-template references. I do it all the time and when I use FlightCrew to verify the ePub, it will yell at me if the page-template reference is there.
Also, the code above is a problem. ADE needs to have the actual pixels of the image and not an arbitrary size. I've mentioned that as a bug and it's been fixed in Calibre. While ADE may be at fault, using the pixels of the image works in ADE and every other system where that code may work.
The correct code that will work on the Sony Reader and in the desktop ADE is...
Code:
<body>
<div>
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 825 1200" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image height="1200" width="825" xlink:href="../Images/cover.jpg"></image>
</svg>
</div>
</body>