Front Cover Image Display


the front cover image of epub file not fit page in digital editions. image remains extremely large , can see top left hand corner of in both reading pain , thumbnail. how front cover image fit page?

regards
hannah

hi--

 

i'm having less ideal cover display in ade epubs, i'm posting our current approach, in case it's closer okay , helpful you, hannah..?

 

(we're still getting white ring around thumbnail, , cover isn't fit height on first display....if has tips tweak this, please post them...!)

 

here's we're doing:

 

cover.xhtml:


<?xml version="1.0" encoding="utf-8"?>
<!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 style="oeb-column-number: 1;">
<div>
<img src="images/978-0-472-03320-1-frontcover.jpg" style="width: 100%; max-width: 100%; margin:0px 0px 0px 0px; padding:0px 0px 0px 0px;border:0px;" alt="cover"/>
</div>
</body>
</html>

 

and, these bits in content.opf:

 

  <item href="images/978-0-472-03320-1-frontcover.jpg" id="cover-image" media-type="image/jpeg"/>

 

...[clipped]...

 

  <item id="coverpage" href="cover.xhtml" media-type="application/xhtml+xml"/>


...[clipped]...

 

  <itemref idref="coverpage" linear="yes" />

 

...[clipped]...

 

<reference type="cover"
           title="cover"
           href="cover.xhtml"/>

 

we're making sure our cover 90 x 130 ratio (e.g. 500 x 722, 415 x 600, etc.)

 

it's better, but, said, if knows change rid of white border on thumbnail , display cover fit-to-height, please let me know..!

 

thanks...

 

--kate



More discussions in Adobe Digital Editions


adobe

Comments