View Single Post
Old 09-02-2013, 05:41 AM   #6
glos
Zealot
glos ought to be getting tired of karma fortunes by now.glos ought to be getting tired of karma fortunes by now.glos ought to be getting tired of karma fortunes by now.glos ought to be getting tired of karma fortunes by now.glos ought to be getting tired of karma fortunes by now.glos ought to be getting tired of karma fortunes by now.glos ought to be getting tired of karma fortunes by now.glos ought to be getting tired of karma fortunes by now.glos ought to be getting tired of karma fortunes by now.glos ought to be getting tired of karma fortunes by now.glos ought to be getting tired of karma fortunes by now.
 
glos's Avatar
 
Posts: 132
Karma: 1070185
Join Date: Mar 2013
Location: Italy
Device: Kobo Aura HD
About this problem with images, there was this topic here
https://www.mobileread.com/forums/sho...d.php?t=211923
that I've read, but I don't completely understand what I have to do in Sigil to make an image appear with its real size instead of super-small how I see it on my Kobo.

DNSB suggested this code for the Glo
Code:
<div>
    <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 660 880" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
      <image height="880" width="660" xlink:href="../Images/cover.jpg"></image>
    </svg>
  </div>
is it correct, then, if I do this?
supposing I have this:
Code:
<p><img alt="anoptic_carshare" longdesc="http://farm9.staticflickr.com/8304/7766508504_92dd553a77.jpg" src="../Images/ffdl-2.jpg" /></p>
where my image is in fact 500x492px

I should delete that code and substitute with this one
Code:
<div>
    <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 500 492" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
      <image height="492" width="500" xlink:href="../Images/ffdl-2.jpg"></image>
    </svg>
  </div>
right?

I've tried just now with 2 images and it seems to be working, they're now much bigger and I can read what's written on them, though they're slightly pixelated, but I guess that's normal... anyway it's good enough for me
glos is offline   Reply With Quote