Quote:
Originally Posted by Jellby
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