11-21-2022, 01:39 PM | #1 |
Zealot
Posts: 127
Karma: 12096
Join Date: May 2010
Device: Loads!
|
Kindle for Apple: Image size formatting not playing nicely...
Before I confinue to beat my face against this can I get a sanity check from the great and the good?
For some reason image sizing is NOT being honoured on the Kindle App for iPad for me. 100% as expected in a browser, on the Kindle Previewer and Kindle for Android. ePub(2) built directly with xhtml and css, so little or no conversion shennanegans. Loaded the ePub to the iPad and Android through their Kindle emails - so we're getting the "consumer experience". Here's a snippet of HTML Code:
<p>TESTING ICONS <img class = "img_1em5" src = 'images/y-s.png' alt ="Yellow Icon"/>1.5em <img class = "img_2em" src = 'images/y-s.png' alt ="Yellow Icon"/>2.5em</p> Code:
.img_1em5{ height:1.5em; vertical-align:bottom; object-fit:contain; } .img_2em{ height:2em; vertical-align:bottom; object-fit:contain; } The only appreciable difference is that I'm using a css class for the two different sizes rather than just formatting the root IMG tag as the instrux does. I've even tried humouring it by making my class names img.img_1em5 etc. No dice! Imags look like they're rendering 1:1 pixel size. WHAT AM I MISSING!!! ARGGHHH!!! I just want to add that I'm not new to all this, 12yrs plus doing this for a living and STILL finding Apple a PITA. Last edited by Oxford-eBooks; 11-21-2022 at 01:56 PM. |
11-21-2022, 05:08 PM | #2 |
Grand Sorcerer
Posts: 6,781
Karma: 87135717
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
When you email an EPUB to Amazon it is converted to two Kindle formats: KF8 and MOBI. KF8 supports HTML5 and CSS and is roughly equivalent to EPUB 2. MOBI only supports the ancient HTML 3 and is much less powerful. Most of the original formatting is stripped out when producing MOBI.
Most Kindle apps and devices support KF8 and will receive the document in that format. Those that do not, which includes the Kindle for iOS app, receive MOBI instead and so will not render the document as well. |
Advert | |
|
11-21-2022, 05:18 PM | #3 |
Zealot
Posts: 127
Karma: 12096
Join Date: May 2010
Device: Loads!
|
Thanks jhowell: That was the answer that I most dreaded to hear but was also most expecting to hear.
Let's just set aside the incandescnt rage at Amazon and hurling things about the room for a moment while I compose myself and ask calmly why on earth Amazon are still rendering MOBI on their iOS apps despite having dropped the format. I even tried sending a MOBI to the iPad and got a message telling me not to. It sounds to me like they've just knobbled their entire format because how can we produce content that works on one app but not on another? Does anyone know if they plan to update the iOS app any time soon? |
11-21-2022, 05:40 PM | #4 | |
Grand Sorcerer
Posts: 5,565
Karma: 100606751
Join Date: Apr 2011
Device: pb360
|
Quote:
https://www.mobileread.com/forums/sh...&postcount=329 and the many other posts where jhowell has explained this. |
|
11-21-2022, 06:23 PM | #5 | |
Zealot
Posts: 127
Karma: 12096
Join Date: May 2010
Device: Loads!
|
Quote:
... sooooooo, does that mean there's NO way to set image size by EM on iOS devices? Or is there some webkit trick... or... anything? :sob: Bottom line may be that the iOS version will look junk and the client can't sell exclusively on KDP Select. |
|
Advert | |
|
11-21-2022, 06:41 PM | #6 |
Grand Sorcerer
Posts: 6,781
Karma: 87135717
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
A key factor here is that by importing your own EPUB you are creating a "personal document" which Amazon handles very differently from a book published on the Amazon platform.
Had the same EPUB been published it would have been converted to latest Kindle format (KFX) and would render the same in the iOS app as it does in the Android app and the Kindle Previewer. |
11-21-2022, 06:48 PM | #7 | |
Zealot
Posts: 127
Karma: 12096
Join Date: May 2010
Device: Loads!
|
Quote:
Is there a reliable way to preview on an iOS device pre-market? I'd be happy with "if it looks right in Kindle Previewer then it'll be RIGHT for the consumer" |
|
11-21-2022, 06:59 PM | #8 |
Resident Curmudgeon
Posts: 76,945
Karma: 138256890
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The solution (IMHO) is to find good program to read ePub that you like.
|
11-21-2022, 07:03 PM | #9 |
Zealot
Posts: 127
Karma: 12096
Join Date: May 2010
Device: Loads!
|
|
11-21-2022, 07:24 PM | #10 | |
Grand Sorcerer
Posts: 6,781
Karma: 87135717
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
The Kindle Previewer has an "Export" option to create files that can be sideloaded on older devices and on the Kindle for iOS app. You need to click on the "Save as type" field to select either .mobi (for old Kindles) or .azk (for the iOS app). You can sideload a .azk file to the Kindle app on an iOS device using the file sharing feature of iTunes. This will give you are better idea of how the file will look when published, but it won't be exactly correct because these days Enhanced Typesetting (KFX format) is used almost everywhere. If you want to see how a book looks with Enhanced Typesetting on an actual device your only option is to create a KFX file from the EPUB and sideload it on to the app or device. Unfortunately Amazon does not provide a way to create KFX format, other than actually publishing a book. My KFX Output plugin for calibre can do it, but it takes knowledge of calibre and plugins to make it work. If you choose to try that then use the CLI interface to produce the a KFX file that most accurately matches what you would get by publishing on Amazon. |
|
11-22-2022, 05:46 AM | #11 |
Zealot
Posts: 127
Karma: 12096
Join Date: May 2010
Device: Loads!
|
Superb answer jhowell - Thanks, I can sleep now.
I have to admit that it came as a bit of a shock to see the screenshots from the iOS device when I'd been under the assumption that I'd been "doing it right all these years". I suspect that there's no need to hobble this particular project for the sake of some older devices. I think we'll go with the attitude (it'll be true for this project at least - it concerns hiking up mountains and things) that if you're using this title then you're going to be going into things prepared with decent kit. Maybe a discrete disclaimer in the description and intro that formatting may be different on older devices to avoid negative reviews from anyone who walks off a cliff becuase some icons look s little shonky! |
04-03-2023, 03:59 AM | #12 |
Junior Member
Posts: 1
Karma: 10
Join Date: Apr 2023
Device: Kindle Voyage
|
I thought this was a very helpful exchange!!
=== Hello, Greetings from Amazon Kindle direct Publishing. Please understand that the preview file provided for iOS devices will look different than the final file delivered to your customer. The delivered file will match the Android and Fire Devices preview. Also, please understand that this is a known issue and we don't have an estimated timeline on when this will be fixed completely. In case you have any further query or doubt please write us again we will be happy to assist you. Thank you for your patience and understanding in this regards. Thanks for using Amazon KDP, Your feedback helps us improve our service. === Problem solved! We just have to wait till they fix it and simply trust Kindle Previewer 3 in the mean time! |
04-03-2023, 08:34 AM | #13 |
Reading till the spring
Posts: 12,518
Karma: 94058919
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
The preview from Amazon are not reliable for mobi, azw3 or KFX Kindle eink, iOS App or Android App.
Only "buying" the published ebook really tells you what it's like. It's time Amazon KDP offered actual download for any device selected by the author/publisher, for a book before it's live. The download preview after upload is pointless. Also the Kindle Previewer and other Kindle applications don't run on Linux. |
04-03-2023, 08:37 AM | #14 |
Reading till the spring
Posts: 12,518
Karma: 94058919
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Unless the iOS app has changed due to Apple removing restrictions, the ebook can't look the same on Kindle iOS app as on the Android Kindle App. The Fire should be nearly the same or identical to Android.
|
04-03-2023, 10:13 AM | #15 |
Grand Sorcerer
Posts: 6,781
Karma: 87135717
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
That depends on the author/publisher having a large assortment of devices for testing including many no longer sold by Amazon. It would work for you but not for the vast majority. An online preview with accurate emulation of the various device types would be more useful.
|
Tags |
epub, format, image, ipad, kindle |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Playing music over BT on a BT-enabled Kindle | 3QVKwyNT9hR849t7 | Kindle Developer's Corner | 27 | 02-11-2019 06:06 AM |
Formatting series number nicely | srs | Library Management | 17 | 02-22-2015 06:13 AM |
Playing MP3 files on a Kindle | selfcater1 | Which one should I buy? | 1 | 02-24-2013 10:32 AM |
iTunes 10.5 beta not playing nicely with Calibre | ChristopherTD | Devices | 2 | 07-03-2011 08:04 AM |
nicely formatted plays | quillaja | ePub | 3 | 09-28-2009 09:03 PM |