Thanks, but I'm not the one who writes that code. I just try to convert, and I realize that the file displays fine as EPUB, and it also displays fine on my Kindle when converted to MOBI. It does not, however, display fine on my Kindle when converted to AZW3.
In the snipped that I posted, I'd say things look OK. The image is included twice. Apparently the software used for viewing just hides the instance that is not applicable.
For the first instance, the width is specified, so that the height can be selected proportionally by the viewer. There should be no stretching:
Code:
<img
alt=""
class="squeeze-epub"
src="images/Abra_9781101905050_epub3_010_r1.jpg"
style="width:100%;">
In the second instance, the dimensions are hardcoded in about the aspect ration of the image, again no excuse for extensive stretching:
Code:
<img
alt=""
class="squeeze-amzn"
height="373"
src="images/Abra_9781101905050_epub3_010_r1.jpg"
width="284">
The size of
Abra_9781101905050_epub3_010_r1.jpg is 1200×1600 pixels.