![]() |
#1 | |||
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
|
Epub Cover, Thumbnail Covers, cropping off
So I've been doing ebooks for a while. I'm by all means 'no expert' I'm fairly savvy. I do all my books in InDesign, then tweak the shizzle out of them in Sigil. And then if the client wants a Mobi file, I either convert it using Cailbre or Terminal.
I am extremely close to being done, everything validates and I have tested it on: Kindle, Kindle Fire, ipad, Nook,, Kindle PC reader, ADE, Cailbre,, even sucky things like: Azardi, ehon, eReader, Firefox-ereader. Now all of those physical devices and otherwise seem to show everything correct. And the book looks good. But the customer says on the 'epub' file the cover gets cropped off. The only place I see where it get's cut-off is on the thumbnail in ADE. I've looked at my cover.xhtml, and my content.opf. Nothing sticks-out at me? Below is my code for; xhtml, opf. Suggestions? Quote:
Quote:
Quote:
Last edited by Jellby; 08-04-2012 at 03:19 AM. Reason: disabled smileys |
|||
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Why is there a non breakable space before the image? That will shift the image. You can additionally add width and height to the image.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
|
Toxaris,
Dunno. I'm sure it's a fun extra code thing that InDesign loves to do! As far as the height and width. Do you usually have different measurements and files for each individual device (not including ipad retina). Thanks, T— |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
You should remove the space, it does not belong there.
Yes, there are different resolutions out there. However, most standalone readers have roughly 600x800. You can use either width or height 100%, don't use both because of the aspect ratio. I personally use a SVG wrapper, examples are on the site. That will work on all displays as far as I know. |
![]() |
![]() |
![]() |
#5 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Add "text-indent: 0;" to the CSS, or change the p to a div. I'm not sure how indent works with centering, but wouldn't risk it.
I'd also add "max-width: 100%; max-height: 100%;" to the img style, or use an SVG wrapper. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Indent is carried over in centering. It looks very odd.
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
|
Thanks guys. I appreciate all the suggestions, totally fixed!
Thanks again! T— |
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
|
Thanks Jellby I really do appreciate it. I did some digging on the SVG wrapper, I applied that shizzle.
And Toxaris that ;nbsp was the MAIN culpurt. So thanks for that. So here's what I ended up with. BTW: The thumbnail looked good too! <body> <div> <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 573 800" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"> <image height="800" width="573" xlink:href="../Images/9780985566500.jpg"></image> </svg> </div> </body> |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Since 0.8.50: No thumbnail covers on Kindle Touch | bouvin | Calibre | 0 | 05-08-2012 03:11 PM |
Cannot get thumbnail cover image to display | Derek R | Sigil | 6 | 02-13-2012 06:52 AM |
Kindle Touch has thumbnail cover images | tomsem | Amazon Kindle | 9 | 12-14-2011 12:22 PM |
Thumbnail for cover image has white borders | Mookiemon | ePub | 0 | 07-06-2011 12:40 PM |
size of thumbnail covers on ibooks bookshelf? | hapax legomenon | ePub | 1 | 04-05-2010 01:27 PM |