Quote:
Originally Posted by John123
Using Sigil I'm trying the fit, proportionately, images to the Kindle screen, width="100%", and the variants, none seem to work. I use KindlePreviewer to generate the .mobi file from the .epub file.
|
KindleGen automatically forces any image to width=100%, UNLESS you specify the height/width in pixels:
Code:
<div class="figure">
<div class="figureimage"><img alt="Fig. 60" src="../Images/pg491-Fig60.png" width="600" height="800" /></div>
<p class="figtitle">Fig. 60. Interest Rates and Corresponding Waiting Periods.</p>
</div>
Although I just checked the Kindle Publishing Guidelines, and it says this:
Quote:
3.6.9 Image Guideline #9: Controlling Image Aspect Ratio
To preserve aspect ratio of images, width and height cannot both be set to a fixed percentage. Either
width or height can be set to the fixed percentage (such as 100%), but then the other property should be
set to “auto” to preserve the aspect ratio.
|
This might have been recently added? Because I definitely do not recall reading this before (or else I would have been using it). I will have to do some testing.