11-24-2018, 08:01 PM | #16 |
Well trained by Cats
Posts: 29,791
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Greg, you really need to avoid ABSOLUTE units whenever possible. No in. cm. even pt
Those stop scaling the item. OK, there are a few items I choose absolutes: border: 1px, sometimes padding: 2 px but in most cases, I want things to track when I Zoom the page (eg. make font bigger) |
11-24-2018, 08:17 PM | #17 | |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
Okay back to your method. So, once Amazon's done with KFXing the file, all widths of images will be displayed at 23.4375% width of the device's screen size, right? So, as you said my 200X300 image would be 140X210 in a 600X800 device. So on a 800X1200 resolution device it would be displayed as 187X281, right? On 1600X2560 devices it would be displayed as 374X561, right? So it would behoove me to have an image size of at least 400X600, right? And would I leave out the "height" and "width" info in the html img tags (as in 23) or leave it in as in 24)? |
|
Advert | |
|
11-24-2018, 08:33 PM | #18 | |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
|
|
11-24-2018, 08:57 PM | #19 | ||
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
Quote:
Maybe you have a link for the thread I should look at? btw I really like the % stuff the guys were sharing. But could they all be letting their images display improperly in KF7? |
||
11-24-2018, 09:00 PM | #20 | |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
|
|
Advert | |
|
11-24-2018, 10:10 PM | #21 | |
A Hairy Wizard
Posts: 3,093
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
If your original image is already 1000 pixels wide then your image will be compressed (from a viewing perspective - it doesn't actually change the image file). This is no big deal. Most readers/apps out there have good image rendering capabilities. The problem comes when you have a low definition image....say one that is only 200 pixels wide. This causes the device/app to expand (or zoom) the image to fill the space. In this case almost 4 times the original size. That much zoom will usually cause small images to look all pixelated and fuzzy. It is usually OK to zoom an image a little bit...but it depends on the quality of the image to begin with...you just need to experiment with your images and find what level is acceptable to you. I would think allowing a 200 pixel wide image get zoomed to 250 pixels will probably (maybe??) be ok... I personally don't like putting any styling in the document itself. I like to keep it all centralized in the CSS file for ease of editing. I find you can give multiple images a unique id, or class, for easy reference in the CSS file. This is a matter of taste...some people find it easier to put the values in the <img> tag . |
|
11-24-2018, 11:13 PM | #22 | ||
Bookmaker & Cat Slave
Posts: 11,461
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
KF7 does not recognize % in image sizes, or in the CSS for images. You have to do fallback coding that sets the image size in px, period, or it will display as large as it can/as large as it is. Hitch |
||
11-25-2018, 01:12 AM | #23 |
Bibliophagist
Posts: 35,356
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
If you read in landscape mode the width would be the larger dimension but for portrait mode which is still the most commonl use, width will be the smaller number. It gets worse -- if you look on Amazon and Kobo's pages, they flip the width/height on the ereader itself.
|
11-25-2018, 01:19 AM | #24 |
Bibliophagist
Posts: 35,356
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
My personal stuff is all epub. The few times I've helped an author who is using Amazon, I've, ummm... borrowed (sounds much nicer) from several sources for the Amazon fixup bits and pieces. Even then, mobi, AZW3 and KFX do not display images identically. But neither do they display text identically. I strive for acceptable since I don't make a living from this -- that's what my day job is for.
|
11-25-2018, 01:31 AM | #25 | |
Bibliophagist
Posts: 35,356
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
11-25-2018, 09:26 AM | #26 | |||
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
Quote:
In the Amazon Kindle Publishing Guidelines section 9.4.2 (Image Size and Quality Standards) the minimum recommended size for a full page image is 1200x1800 pixels. So if you want your covers to occupy approximately 1/4 of the width of a screen the minimum image width should be 1200/4 = 300 pixels. Using 400 wide would be a good choice. Quote:
They fail to mention that this won't work well on older devices that only handle mobi7 format. For the best results across all devices I think that you should use media queries to have different coding for mobi7 (pixels) and kf8/kfx (percent) devices. |
|||
11-25-2018, 11:10 AM | #27 | |
Bookmaker & Cat Slave
Posts: 11,461
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch Last edited by Hitch; 11-25-2018 at 11:10 AM. Reason: Typo, brain-fart. Sorry. |
|
11-25-2018, 01:37 PM | #28 | |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
|
|
11-25-2018, 01:47 PM | #29 | |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
I knew the Previewer in KDP changed but I didn't not know there was a downloadable Previewer 3. But you said, in that thread, it's pretty much worthless, right? I thought Dion's img {width:75%; max-width:250px} might be the ideal solution. KF7 wouldn't work with that? It wouldn't recognize the 250 limit? I wanted to try SlowSmile's plugin, https://www.mobileread.com/forums/sh...d.php?t=288294 but didn't know if I had Python 3.4. (screenshot) Does that mean I have 3.4 or do I have to get it? (And if I have to get it, where would I get it?) Thanks. |
|
11-25-2018, 01:51 PM | #30 | |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
image scaling problems: due to PNG format | stumped | ePub | 23 | 03-06-2017 05:30 AM |
Scaling up an image via SVG | Kayto | ePub | 27 | 01-26-2013 03:38 AM |
Full page image best practices & TOC | illustrata | Sigil | 2 | 04-26-2011 01:50 PM |
Calibre News Epub Image Scaling | grib | Calibre | 3 | 01-07-2010 06:45 AM |