View Single Post
Old 05-22-2014, 11:51 AM   #666
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
add/delete cover code - I have been helped but the Kobo adroid app feedback guys re an issue with this feature gnereated an unwanted blank page when the book is sideloaded & opened in the Kobo app:

i.e. any book that goes thru add/delete cover & is then imported to kobo IOS or android app shows as having 2 title page pages - one with the cover image , and one blank page.

the "fix" is to change height from 100% to 98% in the SVG tag.

I've asked if KObo will add a post here backing me up as it's their work that has uncovered this fix.

could it, without detriment to other devices, be adopted within a future plug in version please
Code:
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 299 500" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image height="500" width="299" xlink:href="../Images/cover.jpeg"></image>
</svg>
would become this ( image dimensions will vary form book to book)
Code:
<svg xmlns="http://www.w3.org/2000/svg" height="98%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 299 500" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image height="500" width="299" xlink:href="../Images/cover.jpeg"></image>
</svg>
cybmole is offline   Reply With Quote