|
|
#1 | |||
|
Enthusiast
![]() Posts: 44
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
|
Epub Cover, Thumbnail Covers, cropping off
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: 2,109
Karma: 927511
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
|
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.
__________________
Creator and maintainer of the e-Book Tools Word add-in. Creator and maintainer of the Clean HTML macro for MS Word. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Enthusiast
![]() Posts: 44
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: 2,109
Karma: 927511
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
|
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.
__________________
Creator and maintainer of the e-Book Tools Word add-in. Creator and maintainer of the Clean HTML macro for MS Word. |
|
|
|
|
|
#5 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,144
Karma: 2505637
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
|
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. |
|
|
|
|
|
#6 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,109
Karma: 927511
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
|
Indent is carried over in centering. It looks very odd.
__________________
Creator and maintainer of the e-Book Tools Word add-in. Creator and maintainer of the Clean HTML macro for MS Word. |
|
|
|
|
|
#7 |
|
Enthusiast
![]() Posts: 44
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 |
|
Enthusiast
![]() Posts: 44
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 Tools | Search this Thread |
|
Similar Threads
|
||||
| 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 |