Quote:
Originally Posted by kovidgoyal
You would need to remove the width attribute from all img tags which can be done via the Transform HTLM tab of the Look & feel section of the conversion dialog.
|
Thanks for the suggestion. Here is an example of an image that gets heavily stretched vertically across an entire page, minus caption (code reformatted by me):
Code:
<div class="img_wrap" id="div12">
<div class="block_51" id="c01-fig7">
<div class="squeeze squeeze51_0">
<img
alt=""
class="squeeze-epub"
src="images/Abra_9781101905050_epub3_010_r1.jpg"
style="width:100%;"
><img
alt=""
class="squeeze-amzn"
height="373"
src="images/Abra_9781101905050_epub3_010_r1.jpg"
width="284">
</div>
</div>
<p class="caption" id="p60"> eirmod tempor invidunt ut labore et dolore </p>
</div>
What I tried as transformation rule:
However, all that this does is create two equally stretched images. First, I tried just removing
width, and when that didn't work, I just remove pretty much everything.
(note that I'm fine exporting to mobi, but I'm also happy to continue testing Calibre in case that helps)