Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 10-27-2014, 03:28 PM   #1
rosshalde
Enthusiast
rosshalde began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Jun 2014
Device: nook
problem with pic on my Kobo Touch

I am testing on three devices.
apple computer - iBook
Nook-Simple Touch
Kobo-Touch

by just inserting a picture file into Sigil and saving the epub, both the apple and the nook auto centered the picture upon display, but Kobo did not.

I went and centered the pic in Sigil and that fixed the problem...but
On Kobo, a large "1" is being displayed under the picture, and I need to get rid of it.

Any ideas why that is? Neither the Nook, nor iWork display this random number under the picture.
rosshalde is offline   Reply With Quote
Old 10-27-2014, 09:56 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,728
Karma: 5656709
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Nearly anything on the screen should be in the book. The only exception is the page number at the bottom of the screen. But, it isn't a large number. And it should show "Page x or y".

Can you post a screen shot? Or the epub. That should help work out what is happening
davidfor is offline   Reply With Quote
 
Enthusiast
Old 10-27-2014, 10:21 PM   #3
rosshalde
Enthusiast
rosshalde began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Jun 2014
Device: nook
Here is a pic of the Kobo with the 1 under it.

Here is the code for the epub Not sure where the 1 is coming from.

<?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></title>
</head>

<body>
<p><img alt="566 width" src="../Images/566%20width.jpg" />&nbsp;</p>
</body>
</html>
Attached Thumbnails
Click image for larger version

Name:	1027142214.jpg
Views:	26
Size:	120.4 KB
ID:	130254  
rosshalde is offline   Reply With Quote
Old 10-27-2014, 10:30 PM   #4
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 1,514
Karma: 3007538
Join Date: Nov 2012
Location: New Zealand
Device: Kobo Glo
I think that is the Adobe page number in the margin.

Go into the Touch's Reading Settings menu and untick the box beside "Show Adobe EPUB page numbers:"
GeoffR is offline   Reply With Quote
Old 10-27-2014, 10:40 PM   #5
rosshalde
Enthusiast
rosshalde began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Jun 2014
Device: nook
That worked. What are those numbers and why would I ever want them displayed. Is there a benefit in certain circumstances or would they always be in the way?
rosshalde is offline   Reply With Quote
Old 10-27-2014, 10:50 PM   #6
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 1,514
Karma: 3007538
Join Date: Nov 2012
Location: New Zealand
Device: Kobo Glo
Quote:
Originally Posted by rosshalde View Post
That worked. What are those numbers and why would I ever want them displayed. Is there a benefit in certain circumstances or would they always be in the way?
They are margin page numbers, they allow the reader to see exactly where the new page begins. (in ebooks one page doesn't usually correspond to one screen).

Personally I don't like them, so I always keep them turned off, but it is a user choice so the publisher doesn't need to worry about it.
GeoffR is offline   Reply With Quote
Old 10-27-2014, 11:21 PM   #7
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 2,309
Karma: 2300180
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350: 3 Silver, 2 Blue!; Kobo Glo
I haven't been able to test on my Sony, it needs charging, but try this code that I usually use for covers, when centering an image is important.

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></title>
</head>

<body>
  <div>
    <svg xmlns="http://www.w3.org/2000/svg" height="100%" version="1.1" viewBox="0 0 566 378" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
      <image height="378" width="566" xlink:href="../Images/566%20width.jpg"></image>
    </svg>
  </div>
</body>
</html>
Btw, you also have a space in your line of code that might do something odd, the &nbsp; is a blank space added.

Edit: Change the height that I specified of 378 to whatever your actual image is, mine is from cutting out from your image and resizing to 566 width, so the height might be slightly different.

And I always leave the Adobe page numbering off as well, they're just annoying when placed on top of the text when reading, unless you have a specific use for needing them as DNSB said below.

Sony charged, and it displays the same way as the Kobo... centered horizontally only but not vertically with your code. My code centers both horizontally and vertically on the page.

Last edited by Ripplinger; 10-28-2014 at 12:03 AM.
Ripplinger is offline   Reply With Quote
Old 10-27-2014, 11:24 PM   #8
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: 2,257
Karma: 6129641
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura HD, Glo, Nexus 7 HD, iPad Air
Quote:
Originally Posted by rosshalde View Post
That worked. What are those numbers and why would I ever want them displayed. Is there a benefit in certain circumstances or would they always be in the way?
The Adobe generated page numbers do have one advantage. If you are reading the same epub file on multiple devices, the synthetic page number is consistent. So you if want to refer someone to page 242, it won't matter if they are reading on a smartphone where the page number may advance every 10 screens or a large screen desktop where you may see more than 1 page number on some screens.

In regards to Ripplinger's response, one advantage to using the SVG wrapper to display images is that they will scale to fill as much of the screen as can be used.

The version I use for cover images is:

Code:
<head>
  <title>Title Deleted</title>
  <link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css" />
  
<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 367 600" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"><image height="600" width="367" xlink:href="../Images/cover.jpg" /></svg>
  </div>
The main change is that I used preserveAspectRatio so the image does not get distorted.

Last edited by DNSB; 10-27-2014 at 11:31 PM. Reason: duelling edits, anyone? VBG
DNSB is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo Touch Problem LadyLoki Devices 2 01-10-2013 02:22 AM
Touch Problem with Kobo Touch bdr90 Kobo Reader 11 11-28-2012 12:51 PM
Touch Problem with Kobo touch RuthK Kobo Reader 6 08-09-2011 12:52 PM
Confused on how to fix this problem (pic included) Frogsmasha Sony Reader 9 04-12-2007 07:53 AM


All times are GMT -4. The time now is 11:29 PM.


MobileRead.com is a privately owned, operated and funded community.