View Single Post
Old 08-06-2017, 07:50 PM   #7
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by slowsmile View Post
@Hitch and @st_albert...



To clarify -- the way I tested the above was that I first ran a test epub through my new plugin that only had one smaller image below the title. Then I just manually changed the normal KF8 version width size(inside the epub) from 25% to 50% to make any differences stand out. This means that the KF8 display will be double the size of the KF7 display and very noticeable. Then I tested the epub on the old Kindle Previewer and on the newer KP 3 and when I switched to KF7 emulation -- hey presto -- the KF8 version(which is using % values) was displayed on both these Kindle test apps...

@st_albert...I also really don't hold anyone responsible for perhaps not knowing that KF8 % images may now be displayed on KF7s. This is a bad way to go. To my way of thinking, Hitch and the folks on this forum are all pretty knowledgeable about Kindle requirements, formatting etc. And if anyone is responsible I would say that it's probably the Kindle team for not telling anybody about this possible change(think about the non-existent Kindle LITB info for instance).

For some more clarity, here are the media queries and code that my plugin inserts at the end of the main html stylesheet and in the html respectively on a normal plugin test run:

Spoiler:

In the CSS:

@media amzn-mobi {
.kf8only {
display: none;
}
.mobionly {
display: inline;
}
}
@media not amzn-mobi {
.kf8only {
display: inline;
}
.mobionly {
display: none;
}
}

In the html:

<p class="scrivener8"><img alt=" " class="mobionly" height="100" src="../Images/Image1.jpeg" width="105"/></p>

<p class="scrivener8"><img alt=" " class="kf8only" src="../Images/Image1.jpeg" style="width: 25%;height: auto;"/></p>


Everyone also seems to be assuming that the old KP and new KP 3 are telling the truth ie that they were both correctly emulating the KF7. Perhaps that's also a bad assumption. Perhaps its the fault of both KP's which may not be emulating the KF7 imaging accurately or correctly. That's why, IMHI, we will only really find out the truth by testing the epub, after a plugin run, on an actual KF7 device.

William:

If you change your HTML to

Code:
 <p class="scrivener8"><img alt=" " class="mobionly" height="100px" src="../Images/Image1.jpeg" width="105px"/></p>
Do you get the same result? (I'm assuming those are the dimensions? 100x105px?)

Something is DEFINITELY hinky here. I promise you, in the real world, the KF7s are not displaying % or KF8. We were just testing something, on this, with some books we have inhouse, one with 378 images, that is moving into production this very week.

Albert, are you seeing anything different than what I am seeing, vis-a-vis KF7/8?

Hitch
Hitch is offline   Reply With Quote