kobolabs / Kobo-Reader

http://www.koboereader.com/
598 stars 126 forks source link

Ghost link area #19

Closed vpelletier closed 9 years ago

vpelletier commented 11 years ago

In the ebook I'm playing with I use the following construct to display images in text:

  <a class="illustration" href="..."><img .../><br/>Some caption</a>

CSS:

  .illustration {
    text-align: center;
    border: 1px solid black;
    width: 50%;
    float: right;
    margin-left: 0.5em;
  }

The rendering in epub2 (.epub) is fine. The rendering in epub3 (.kepub.epub) is not, when the image is to large to fit on current page, with two issues:

I realise that having images right next to a screen border is probably not a good idea because it conflicts with tap-screen-to-turn-page UI, but I thought I should report these bugs.

Link-related issue: the page those images link to are full-screen version of the illustrations, with a link over the whole image bringing user back to the (only) page the image appears in. Because the link is then fullscreen, reader UI cannot be triggered. Is it just bad practice, or should the reader software provide some way to trigger its UI rather than pass the event to the page ? (I'm thinking of a long press for example)