Quote:
Originally Posted by mattmc
Found my K1 one on eBay, $50
Hm. Okay, so, I caved and ordered a used K2 on Amazon. What the hell, why not?
Next order of business, Kindle Previewer. I'm running the latest KP for OSX, version 2.941. I load in my book and switch to "Kindle DX" mode. Nice, big screen, no embedded fonts, seems like a legit KF7.
|
Yes. It is. I use it extensively for a quick check on books; I only slap the files on the "real thing" when I feel a qualm about something. Both the Voyage (KF8) and DX (KF7) are highly reliable previews.
Quote:
So, I made two test files, attached screenshots kf7-image-test-large and kf7-image-test-small.
Both files, when unpacked, have identical KF7 markup:
Code:
<h1 height="9%" width="0" align="center"><font size="+3" face="Adobe Garamond"><img src="Images/image00852.jpeg" alt=""/></font></h1>
(Interesting, in some earlier tests I had not seen any height or width inline attributes being created by my CSS, and I'm not adding them by hand...and I wonder at the percentage and the zero in there...)
The images in either version are different sizes, as I put into the actual image, and they're clearly displaying at different sizes. Neither are filling the screen.
|
I'm obviously missing something. I don't understand why you have two different files? And why
wouldn't the files have identical KF7 markup? Can you please elaborate?
Quote:
(As I said earlier, if the image is bigger than the screen, it'll max out at 100%. But that's not quite what you've been saying.)
Thoughts?
|
Yes, I have a bunch. I wonder if we are somehow miscommunicating, or if I'm misunderstanding your intent? I hope you don't mind my questions, to obtain some clarity:
- Why are the images inside a header? H1, to be precise? I noticed this, I think, earlier, but thought it was anomalous, but here I see it again? Why is this?
- You have a bunch of mixed instructions here. I see a height instruction of 9%--which is for what? Is that intended to be for the image, or for the heading, that's containing the image?
- Then there's a font size of "3," which is typical KF7 sizing.
- My inference is that the heading is being used to constrain the image size. That's what I see--just like using divs to constrain images for iBooks, essentially.
- The % shouldn't work at all, for this. That should affect the view on a KF8 device, not a KF7, assuming that it's interpreted to be for the heading.
What I've been saying is that you either write something like this:
Code:
<img class="90" src="yadda.jpg" height="50" width="XXX">
With the Class defined as being 90% (width or height, your call), or whatever it is you want for that image, in the CSS,
OR, you put the style inline, inside the img tag. Either will make the image work correctly in both KF8 and KF7, but you need to have both. Otherwise, the KF7 simply won't work.
If you try plain old image coding, without putting the image inside a heading, without putting it inside font tags, without putting it inside a paragraph tag, I think you'll see what I mean. You're getting artificial results, more or less, because your images are being put inside other elements, that wouldn't normally hold them, like headings or font tags. You know what I mean?
(You can use Divs to provide constraint for an image, but AGAIN, you still need the KF7 coding for the KF7 devices).
Right?
Hitch