03-22-2019, 03:37 AM | #31 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Of the remaining devices without KF8/AZW3 support the Kindle DX is most likely the only device that is still in use, because of its screen size. |
|
03-22-2019, 05:43 AM | #32 |
Enthusiast
Posts: 47
Karma: 10
Join Date: Jun 2018
Location: UK
Device: Android, iPad, iPod, kindle {keyboard,fire7,hdx8.9} kobo, Sony PRS 600
|
@Rubén and @Hitch:
Regarding the DX and other Kf7 devices: am I mistaken in thinking that I don't need to do anything, because images that are wider than the screen are reduced to 100% of the screen width? All the images to be used will be available in sizes matching the current Publishing Guidelines which recommend, I believe, 3200px width, and in the HTML I don't specify width or height in PX. And @Doitsu: thx for the heads up on the Keyboards' software upgrade. But I'm going to ebay to get one anyway to see images at grayscale. Might find other problems I'm not aware of. Klaus |
03-22-2019, 07:28 AM | #33 | ||
Wizard
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Quote:
|
||
03-22-2019, 08:35 AM | #34 |
Wizard
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Hmmm, I'm not sure. I don't remember well but with images inside a table things are different. In those cases I think the images could see partially. Maybe Hitch can give you a better answer, more accurate, because I really don't remember well how was the behaviour of an image inside a table cell when the width of the original picture was wider than the screen.
|
03-22-2019, 10:10 AM | #35 | ||
Bookmaker & Cat Slave
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:
Quote:
I hate to say this, but I would strongly consider using hidden and mqs to deal with this. Stack your images in a vertical stack, for the KF7s. I mean...what you have now MIGHT work, for the images, for most, albeit not all, KF7 devices, but the captions--maybe. Y'know...presumably, you've already coded it. Right? And you're testing it on KP 2.94? I've found that KP2.94 is reasonably accurate in DX mode for the KF7s. If you think it works there...then try it. It's quite a bit of work to change all your tables to hidden and rework everything (although, obviously, you can regex a lot of it), so if the 2.94 DX preview looks reasonably good to you...meh, it's probably safe enough. It won't work on the original Kindle or the K2 (reliably), but who knows how many of those are still in circulation? Hitch |
||
03-22-2019, 11:28 AM | #36 |
Enthusiast
Posts: 47
Karma: 10
Join Date: Jun 2018
Location: UK
Device: Android, iPad, iPod, kindle {keyboard,fire7,hdx8.9} kobo, Sony PRS 600
|
The way I've arranged things for now is to use DIVs. For anything that doesn't respond to amzn-kf8 these are just vertically stacked DIVs. But for kf8 devices these DIVs use display:table, display:table-row and display:table-cell. Works beautifully on kf8 just the way I intended all along.
And as the images are all wider than the screens, anything that understands the DIVs as no more than vertically stacked boxes will squeeeeze these images so they fit into the screen width. Says someone who, despite his age, occasionally is still an optimist. I've seen what seems to be another can of worms in PV 3.29.1 with some images, when the display is set to "Phone". These are floats to one side in a body of text, less than half the screen width and they work as required in tablet form oder PV 2.9 or anywhere else I can remember. Except in PV 3.29.1 some of them don't. Have to check if it's image dimensions, file size or random happenings. But this can wait until it rains. klaus |
03-23-2019, 11:47 AM | #37 | |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
The problem rather is with smaller images. For example, with my colophon I called for width=12% in the html, and I make sure it's rough 100x100 pixels in actuality. That makes for an enlarged display in the DX display, but it's not unacceptable. Another thing to watch for is mug shots with text flowing around them. That's not supported in the Look Inside sample, and I suspect not in the early-model Kindles either. |
|
04-15-2019, 12:02 PM | #38 |
Enthusiast
Posts: 47
Karma: 10
Join Date: Jun 2018
Location: UK
Device: Android, iPad, iPod, kindle {keyboard,fire7,hdx8.9} kobo, Sony PRS 600
|
@Rubén and @Hitch:
Well, it has rained at last. I looked more into the image question with previewer 3.29.1 and it turns out the problem I noticed there has nothing to do with image size but is triggered by a caption that is larger than the percentage width the image was supposed to be scaled to. The intent was to have an image floated to one side, about 38% wide, with a caption below, and the copy wrapping around a container holding both the image and caption. Works if I set the display of the PV 3.29.1 to either Tablet or E-Reader. Doesn't reliably when I set it to Phone. What I've settled on - for now - is to use display:block with a 100% width for the span containing the caption string. Strangely the problem manifests itself only when setting the display to phone. To verify that the display:table code Rubén provided graciously a while back works on an actual Voyage like display I ebayed myself a Kindle Keyboard as suggested by Hitch. Of course it does. And would you believe it: I actually like the gadget, far more than my Fire, and I have already spent £1.09 to buy a book for it (because it's the last in a series and was never available in print although all the others were). The book was supposed to cost something like four pounds whatever, but Amazon gave me a discount without telling me why. I don't mind the why, but I sure hope they'll continue doing that should I buy more. @Notjohn: For images Amazon's Publishing Guidelines (now?) say that you should allow twice the device width of the largest device to allow for zooming into images. That would make that a ginormous width of 3200 pixels. As that'll be scaled down for each device type it's probably not that much of a problem. And in order to have a somewhat comparable layout across devices I use images set to a percentage of the screen width rather than fixed pixel sizes. I wish there was a reliable resource that has @media query capabilities and screen dimensions for each device. Without that some of the work I'm supposed to do for my daughter is based on experiments and guessing. But thanks for the heads up about Amazon's "Look Inside" feature, something I've completely overlooked so far. It seems never-ending. Klaus |
04-15-2019, 03:46 PM | #39 | |
Wizard
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
|
|
04-15-2019, 04:25 PM | #40 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
>For images Amazon's Publishing Guidelines (now?) say that you should allow twice the device width of the largest device to allow for zooming into images.
Thanks! I'll check it out. >That would make that a ginormous width of 3200 pixels. As that'll be scaled down for each device type it's probably not that much of a problem. Well, I hope the software that calculates the download size, hence the 15-cent download fee, has been rewritten to make it not much of a problem! I still have books on the Amazon store that were uploaded with images 450 pixels wide, as instructed on the DTP/KDP platform in the early years, sigh.... |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wishlists and Previews | moffattm | Kobo Reader | 3 | 05-04-2013 08:27 PM |
Worthless Book Previews | unaj41 | Kobo Reader | 7 | 09-09-2012 05:36 PM |
Book Previews | nogle | Kobo Reader | 7 | 07-09-2012 07:29 AM |
Free previews | tecweston | Kobo Reader | 6 | 04-06-2011 08:55 AM |
Video previews | GeoffC | General Discussions | 10 | 10-16-2010 08:50 AM |