View Single Post
Old 05-14-2014, 03:24 PM   #12
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,850
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Jellby View Post
Not if the image is "wider" than the screen. Say a 800x700 image in an 800x600 screen (both in portrait orientation).

Or, if it does work, it must be a "feature" of Kindles, but it's still a reason to use SVG in Sigil and ePub
Hi Jellby;

In Kindle works (you can check that with Kindle Previewer). But let's put that result aside; you are forgetting that the exaltedwombat wants something for .mobi, the old Kindle format. And .svg only works for .kf8. When the image is wider than tall, then the solution could be (without using svg):

Code:
<body style="border:0;margin:0">
<div style="text-align:center"><img alt="cover-front" src="../Images/cover-front.jpg" width="100%" height="auto"/></div>
</body>
And when the image is taller than wide, then we could use:

Code:
<body style="border:0;margin:0">
<div style="text-align:center"><img alt="cover-front" src="../Images/cover-front.jpg" width="auto" height="100%"/></div>
</body>
If exaltedwombat doesn't use the above code, then I can't see how will he get what he want for old Kindle devices.

Regards
Rubén

Last edited by RbnJrg; 05-14-2014 at 03:41 PM.
RbnJrg is offline   Reply With Quote