View Single Post
Old 05-19-2013, 08:00 AM   #462
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: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Quexos View Post
I use only sideloaded epubs, I'm nowhere near tempted to buy kepubs with the wasted space issues at present.
All books Kobo sell have both kepub and epub versions. You can sideload the epub version.
Quote:
What code is stretching the cover image ? if it's in the css file and if someone can tell me what the tag and values are, I could try to fix it.
This SVG tag, where does it go ? the css file too ? what is the proper syntax to use it ?
The following is what I use.

Code:
  <div>
    <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 296 475" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
      <image height="475" width="296" xlink:href="../Images/cover.jpeg"></image>
    </svg>
  </div>
This replaces the code that currently displays the cover image. You need to change the sizes to match the image size.

If you use calibre to insert or replace the cover, it will use code similar to the above.
davidfor is offline   Reply With Quote