Quote:
Originally Posted by KevinH
Old mobi is based on a subset of html 3.2. According to that spec, this is done by adding inline in the image tab a height and width which is always interpreted as pixels.
So try something along the lines of having both
height=100 width=50
as attributes of the img tag.
|
Thanks, that's good, precise information of the kind I was looking for. Now, check it out:
I tried using the
width and
height attributes inline on the
<img> tag, and it didn't seem to do anything (on my K1). I tried both increasing and reducing the image size, no dice.
Check out my code, and what it resulted in based on Unpack:
Code:
<!-- Original: -->
<h1 class="someClass"><img class="_idGenPageitem-1" src="image/102249.jpg" width="50" height="50" alt=""/></h1>
<!-- Unpacked: -->
<h1 width="0" align="center"><font size="+3" face="Adobe Garamond"><img src="Images/image00851.jpeg" width="50" height="50" alt=""/></font></h1>
So the width/height attrs are actually coming through, at least. Do we know that this works on K1? Any ideas of what else could be wrong?
Thanks!
Edit: Also tried this, with no dice: (no <h1> and all that)
Code:
<img align="center" src="Images/image00852.jpeg" width="50" height="50" alt="" />