Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 08-19-2011, 05:18 PM   #1
gdgibson
Member
gdgibson began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2011
Device: All
Size of page images for Kindle

I'm converting an illustrated children's book for epub (with the ultimate goal being conversion to Kindle), and after tinkering with flowing the images within xhtml text I decided that I was better off exporting page images (from InDesign).

It's working well - the images look nice, the text displays crisply, etc. But I'm getting extra pages between my xhtml pages when I send the epub to my Kindle via Calibre.

That suggests to me that my images are too large for the Kindle 2 screen and those extra pages are a sliver of white space that wouldn't fit. And when I take the images down a few pixels, I lose the extra pages. But -

a) I was under the impression that the Kindle resized images, and would reduce the size of anything that wasn't enormous so that it would fit on one page.

b) I'm using the pixel dimensions (520x622) that Josh Tallent recommends in Kindle Formatting for the Kindle 2. I'm attached to these because I've gone through and re-done my layout in InDesign so that the margins you get around the images on the K2 correspond with elements of the page composition (borders, leading of the text, etc.). Obviously this wouldn't apply for the DX or Kindle for PC (or the K1), but we're pretty sure that our market would mostly just use the K2, and we're relying on resizing.

So does anyone have any advice? Should I use a different size for my page images? Or is there something about my xhtml that may be causing me problems? Here are the relevant lines of code (they don't vary much from page to page):

Quote:
<body>
<div>
<img src="images/titleil002.jpeg" alt="Title. Written by Author. Illustrated by Illustrator. Published by Publisher." />
</div>
</body>
This is what I'm using now - I still get an extra page between images even if I add a style="max-width: 100%" to the img line, and even if I put the image between <p> and </p> tags.

Thanks!
gdgibson is offline   Reply With Quote
Old 08-20-2011, 03:52 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,193
Karma: 4800739
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
It doesn't matter what you put in the style, because the mobipocket format doesn't understand CSS, and max-width, in particular has no equivalent in mobipocket, so it will likely be ignored.

Regarding the extra pages, my experience with mobipocket is that it tended to send large images (though resized) to the next page, often leaving a blank page in between. I decided to consider it as a "bug" and live with that.
Jellby is offline   Reply With Quote
Old 08-20-2011, 09:35 AM   #3
dwig
Guru
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 979
Karma: 1382338
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Dell Venue 8 Pro, Kindle 3/WiFi - Retired:Clie UX50, T415, ...
Quote:
Originally Posted by Jellby View Post
It doesn't matter what you put in the style, because the mobipocket format doesn't understand CSS, and max-width, in particular has no equivalent in mobipocket, so it will likely be ignored...
Actually, what is in the CSS is usually important because all of the major conversion programs capable of converting from formats that support CSS do understand CSS and convert CSS formatting to MOBI tags where equivalents exist.
dwig is offline   Reply With Quote
Old 02-16-2012, 02:56 AM   #4
Arjen
Member
Arjen puts his or her pants on both legs at a time.Arjen puts his or her pants on both legs at a time.Arjen puts his or her pants on both legs at a time.Arjen puts his or her pants on both legs at a time.Arjen puts his or her pants on both legs at a time.Arjen puts his or her pants on both legs at a time.Arjen puts his or her pants on both legs at a time.Arjen puts his or her pants on both legs at a time.Arjen puts his or her pants on both legs at a time.Arjen puts his or her pants on both legs at a time.Arjen puts his or her pants on both legs at a time.
 
Posts: 15
Karma: 133282
Join Date: Nov 2009
Location: Amersfoort, the Netherlands
Device: iPhone
Sorry for the late reply, hope this is still of use to someone.

Sticking to 520x622 is fine, but to make sure that the image does not get resized by Kindle (resulting in empty pages), put the actual size of the image in the img tag, e.g. <img src="fullpageimage.jpg" width="520" height="622" alt="my image">
Arjen is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Ideal" Kindle 2 PDF page size Ea PDF 7 09-13-2013 11:08 AM
How to stop images from doubling size? bfollowell Amazon Kindle 2 10-12-2010 09:55 PM
Kindle DX optimal "page" size - PDF or Word template guiyoforward Amazon Kindle 12 09-28-2010 07:05 PM
Images for different size readers JSWolf ePub 2 12-31-2009 11:29 AM
Cover images for PML/PDB -- size? Jon Noring Workshop 0 08-13-2008 07:35 PM


All times are GMT -4. The time now is 10:14 AM.


MobileRead.com is a privately owned, operated and funded community.