Thread: Aura HD Full screen in-book images
View Single Post
Old 05-30-2014, 11:37 AM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,053
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by omnimodis78 View Post
I'm looking at a global, permanent solution to ensure that image files are displayed in full on my Kobo Aura HD. Opening a book in Calibre Ebook Viewer displays images at full-frame, but in Kobo all image files within books (covers are fine) are always so tiny. Here are two pictures of the same book & page, top is from Calibre, bottom is on Aura HD:

Any help would be greatly appreciated, as this is a major annoyance for me given that I read a lot of historical books and those have tons of maps and images that I simply can't view. Thanks!
Generally, what I do for full page images is to use the svg wrapper technique.

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

<body class="nomargin">
  <div class="svg_wrapper">
    <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 510 680" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"><image height="680" width="510" xlink:href="../Images/cover.jpg"></image>
    </svg>
  </div>
This will scale to close to full page. The nomargin and svg_wrapper basically just set the margins to 0. At one time, I ran into some issues with margins so just ensured that all of them for images were 0.

Regards,
David

Last edited by DNSB; 05-30-2014 at 11:41 AM.
DNSB is offline   Reply With Quote