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 06-02-2013, 09:13 AM   #1
lex1000
Junior Member
lex1000 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2013
Device: Kindle Paperwhite
Thumbnail not showing.

Hi I'm new to creating mobi files so this could be a bit of a gumbie question.

I've created a test book, used kindlegen to generate a mobi file and sent the file to my kindle paperwhite using email.

The book itself all looks as expected, but the book in the index page has no thumbnail. Instead it just has a kindle holder with the title in.

I know that amazon add the image separately if you sell a book through their site, but I also want be able to source the mobi file on my own site. I've uploaded other books to my kindle by emailing the mobi file and they do have a thumbnail, so it's something I'm missing.

My opf file looks like this:

Code:
<?xml version="1.0" encoding='UTF-8'?>
<package xmlns="http://www.idpf.org/2007/opf"
   unique-identifier="bookid" version="2.0">

   <metadata xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:opf="http://www.idpf.org/2007/opf">
      <meta name="cover" content="the_cover" />
      <dc-metadata xmlns:dc="http://purl.org/metadata/dublin_core" xmlns:oebpackage="http://openbook.org/namespaces/oeb-package/1.0/">
          <dc:title>My Fantastic First eBook</dc:title>
          <dc:identifier id="bookid">my_first_mobi</dc:identifier>
          <dc:language>en</dc:language>
      </dc-metadata>
   </metadata>

   <manifest>
      <item id="ncx" href="toc.ncx" media-type="application/xhtml+xml" />
      <item id="the_cover" href="cover.jpg" media-type="image/jpeg" />
      <item id="title_pg" href="title.html" media-type="application/xhtml+xml" />
      <item id="part1" href="chapter1.html" media-type="application/xhtml+xml" />
      <item id="part2" href="chapter2.html" media-type="application/xhtml+xml" />
      <item id="my_css" href="mybook.css" media-type="text/css" />
   </manifest>
   
   <spine toc="ncx">
      <itemref idref="title_pg" />
      <itemref idref="part1" />
      <itemref idref="part2" />
   </spine>

   <guide>
      <reference type="toc" title="Table of Contents"
         href="toc.html" />
   </guide>

</package>
The output from kindlegen Looks like this:

Code:
*************************************************************
 Amazon kindlegen(Linux) V2.8 build 0208-797bf75 
 A command line e-book compiler 
 Copyright Amazon.com and its Affiliates 2013 
*************************************************************

Info(prcgen):I1047: Added metadata dc:Title        "My Fantastic First eBook"
Info(prcgen):I1002: Parsing files  0000004
Info(prcgen):I1016: Building enhanced PRC file
Info(prcgen):I1006: Resolving hyperlinks
Info(prcgen):I1007: Resolving mediaidlinks
Info(prcgen):I1011: Writing mediaidlinks
Info(prcgen):I1009: Resolving guide items
Info(prcgen):I1008: Resolving start reading location
Info(prcgen):I1049: Building table of content     URL: /home/lex/Dropbox/mobi_test_book/toc.ncx
Info(prcgen):I1015: Building PRC file
Warning(prcgen):W14001: Hyperlink not resolved:  /home/lex/Dropbox/mobi_test_book/toc.html
Warning(prcgen):W14002: Some hyperlinks could not be resolved.
Warning(prcgen):W14019: Cover is too small :   /home/lex/Dropbox/mobi_test_book/cover.jpg
Info(pagemap):I8000: No Page map found in the book
Info(prcgen):I1045: Computing UNICODE ranges used in the book
Info(prcgen):I1046: Found UNICODE range: Basic Latin [20..7E]
Info(prcgen):I1017: Building PRC file, record count:   0000001
Info(prcgen):I1039: Final stats - text compressed to (in % of original size):  43.69%
Info(prcgen):I1040: The document identifier is: "My_Fantastic_First_eBook"
Info(prcgen):I1041: The file format version is V6
Info(prcgen):I1031: Saving PRC file
Info(prcgen):I1033: PRC built with WARNINGS!
Warning(index build):W15010: This index is empty and has been skipped.
Info(prcgen):I1039: Final stats - text compressed to (in % of original size):  45.85%
Info(prcgen):I1041: The file format version is V8
Info(prcgen):I15000:  Approximate Standard Mobi Deliverable file size :   0000032KB
Info(prcgen):I15001:  Approximate KF8 Deliverable file size :   0000033KB
Info(prcgen):I1037: Mobi file built with WARNINGS!
And a zip directory can be found here:
http://www.filedropper.com/mobitestbook

Can anybody point me in the right direction.

Thanks.
lex1000 is offline   Reply With Quote
Old 06-02-2013, 11:02 AM   #2
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Quote:
Originally Posted by lex1000 View Post
Hi I'm new to creating mobi files so this could be a bit of a gumbie question.

I've created a test book, used kindlegen to generate a mobi file and sent the file to my kindle paperwhite using email.

The book itself all looks as expected, but the book in the index page has no thumbnail. Instead it just has a kindle holder with the title in.

I know that amazon add the image separately if you sell a book through their site, but I also want be able to source the mobi file on my own site. I've uploaded other books to my kindle by emailing the mobi file and they do have a thumbnail, so it's something I'm missing.

My opf file looks like this:

Code:
<?xml version="1.0" encoding='UTF-8'?>
<package xmlns="http://www.idpf.org/2007/opf"
   unique-identifier="bookid" version="2.0">

   <metadata xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:opf="http://www.idpf.org/2007/opf">
      <meta name="cover" content="the_cover" />
      <dc-metadata xmlns:dc="http://purl.org/metadata/dublin_core" xmlns:oebpackage="http://openbook.org/namespaces/oeb-package/1.0/">
          <dc:title>My Fantastic First eBook</dc:title>
          <dc:identifier id="bookid">my_first_mobi</dc:identifier>
          <dc:language>en</dc:language>
      </dc-metadata>
   </metadata>

   <manifest>
      <item id="ncx" href="toc.ncx" media-type="application/xhtml+xml" />
      <item id="the_cover" href="cover.jpg" media-type="image/jpeg" />
      <item id="title_pg" href="title.html" media-type="application/xhtml+xml" />
      <item id="part1" href="chapter1.html" media-type="application/xhtml+xml" />
      <item id="part2" href="chapter2.html" media-type="application/xhtml+xml" />
      <item id="my_css" href="mybook.css" media-type="text/css" />
   </manifest>
   
   <spine toc="ncx">
      <itemref idref="title_pg" />
      <itemref idref="part1" />
      <itemref idref="part2" />
   </spine>

   <guide>
      <reference type="toc" title="Table of Contents"
         href="toc.html" />
   </guide>

</package>
The output from kindlegen Looks like this:

Code:
*************************************************************
 Amazon kindlegen(Linux) V2.8 build 0208-797bf75 
 A command line e-book compiler 
 Copyright Amazon.com and its Affiliates 2013 
*************************************************************

Info(prcgen):I1047: Added metadata dc:Title        "My Fantastic First eBook"
Info(prcgen):I1002: Parsing files  0000004
Info(prcgen):I1016: Building enhanced PRC file
Info(prcgen):I1006: Resolving hyperlinks
Info(prcgen):I1007: Resolving mediaidlinks
Info(prcgen):I1011: Writing mediaidlinks
Info(prcgen):I1009: Resolving guide items
Info(prcgen):I1008: Resolving start reading location
Info(prcgen):I1049: Building table of content     URL: /home/lex/Dropbox/mobi_test_book/toc.ncx
Info(prcgen):I1015: Building PRC file
Warning(prcgen):W14001: Hyperlink not resolved:  /home/lex/Dropbox/mobi_test_book/toc.html
Warning(prcgen):W14002: Some hyperlinks could not be resolved.
Warning(prcgen):W14019: Cover is too small :   /home/lex/Dropbox/mobi_test_book/cover.jpg
Info(pagemap):I8000: No Page map found in the book
Info(prcgen):I1045: Computing UNICODE ranges used in the book
Info(prcgen):I1046: Found UNICODE range: Basic Latin [20..7E]
Info(prcgen):I1017: Building PRC file, record count:   0000001
Info(prcgen):I1039: Final stats - text compressed to (in % of original size):  43.69%
Info(prcgen):I1040: The document identifier is: "My_Fantastic_First_eBook"
Info(prcgen):I1041: The file format version is V6
Info(prcgen):I1031: Saving PRC file
Info(prcgen):I1033: PRC built with WARNINGS!
Warning(index build):W15010: This index is empty and has been skipped.
Info(prcgen):I1039: Final stats - text compressed to (in % of original size):  45.85%
Info(prcgen):I1041: The file format version is V8
Info(prcgen):I15000:  Approximate Standard Mobi Deliverable file size :   0000032KB
Info(prcgen):I15001:  Approximate KF8 Deliverable file size :   0000033KB
Info(prcgen):I1037: Mobi file built with WARNINGS!
And a zip directory can be found here:
http://www.filedropper.com/mobitestbook

Can anybody point me in the right direction.

Thanks.
In the same boat

Maybe could you test my klingon ebook, with potential solution as referred in post #64 of this thread and see the additional thumbnail metadata I added to the opf.
PoP is offline   Reply With Quote
Advert
Old 06-02-2013, 01:11 PM   #3
lex1000
Junior Member
lex1000 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2013
Device: Kindle Paperwhite
Hi Pop
Quote:
In the same boat

Maybe could you test my klingon ebook, with potential solution as referred in post #64 of this thread and see the additional thumbnail metadata I added to the opf.
I tried your suggestion; created a thumbnail 154x240 and added the following to my opf:
...
<meta name="thumbnail" content="cover_thumb" />
...
<item id="cover_thumb" href="cover_thumb.jpg" media-type="image/jpeg" />
...

But no luck. My papaerwhite still shows no thumb.
lex1000 is offline   Reply With Quote
Old 06-04-2013, 03:21 AM   #4
Aerys
Connoisseur
Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.
 
Aerys's Avatar
 
Posts: 51
Karma: 29994
Join Date: Nov 2011
Location: Manila, Philippines
Device: iPad 2 & Nexus 7
It seems something is happening with the thumbnail image that Kindlegen supposed to produce for the KF8 version. It correctly creates the thumbnail image for the Mobi7 but not for the Mobi8 set.

You can see the files compiled by Kindlegen using the KindleUnpack script on your MOBI file. Kindlegen supposed to make 2 images for your KF8 version of the book: (1) for the cover and (2) for the thumbnail but it doesn't. I don't know what is preventing your cover image from not correctly being converted since it works on Mobi7 version.

Last edited by Aerys; 06-04-2013 at 03:24 AM.
Aerys is offline   Reply With Quote
Reply

Tags
cover image, kindlegen

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Thumbnail view? qaplus Calibre 21 07-01-2012 07:43 PM
Odyssey Thumbnail Loading? Rand Brittain Bookeen 0 06-21-2012 01:51 PM
Thumbnail view Hexodus Library Management 3 12-09-2011 06:33 AM
thumbnail wiseke Calibre 3 07-16-2010 08:39 AM
How does one post a thumbnail? Wetdogeared Lounge 0 12-27-2008 02:49 PM


All times are GMT -4. The time now is 09:56 AM.


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