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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-24-2011, 04:56 PM   #1
Antioch
Connoisseur
Antioch began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Jun 2011
Device: Nook STR
How to get ePub covers to display?

I've been editing an epub I have and the cover used to show up on my nook (the little dust jacket that appears in your library view) until I used Sigil to save the epub. Now the book appears as having no cover.

I'm curious what file in the epub tells the reader where to grab the cover image from as well as what the necessary syntax is. From dissecting my old epub file I can't really tell as there are so many references to "cover.jpg" and in spite of having copied these over from old to new, it still won't appear.

Thanks.
Antioch is offline   Reply With Quote
Old 06-24-2011, 07:46 PM   #2
sensel
Junior Member
sensel began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2011
Device: Sony prs350
I have seen this with some Penguin books.

The cover images were stored in the html files as inline svg data.

Calibre extracted the cover images OK but Sigil (HTML Tidy?) apparently cannot understand this format and removes the code
sensel is offline   Reply With Quote
 
Advertisement
Old 06-25-2011, 01:46 AM   #3
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 64,976
Karma: 42992227
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Mini, iPhone 4, MS Surface Pro, N7
You'd probably be better off asking about this in the Sigil forum.
HarryT is offline   Reply With Quote
Old 06-25-2011, 02:32 AM   #4
afv011
Captain Penguin
afv011 ought to be getting tired of karma fortunes by now.afv011 ought to be getting tired of karma fortunes by now.afv011 ought to be getting tired of karma fortunes by now.afv011 ought to be getting tired of karma fortunes by now.afv011 ought to be getting tired of karma fortunes by now.afv011 ought to be getting tired of karma fortunes by now.afv011 ought to be getting tired of karma fortunes by now.afv011 ought to be getting tired of karma fortunes by now.afv011 ought to be getting tired of karma fortunes by now.afv011 ought to be getting tired of karma fortunes by now.afv011 ought to be getting tired of karma fortunes by now.
 
afv011's Avatar
 
Posts: 2,854
Karma: 2076640493
Join Date: May 2009
Location: Vancouver, BC
Device: nook*, nexus 10
For the books that do not show the cover, I manually edit the OPF file by adding an entry in the manifest section, named "cover" and referencing the cover image:

Code:
<item id="cover" href="Images/bookcover.jpg" media-type="image/jpeg"/>
afv011 is offline   Reply With Quote
Old 06-25-2011, 04:00 AM   #5
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
Also make sure your cover is included in the metadata in your .opf file

Quote:
<meta name="cover" content="cover-image"/>
Threepress has a great article on covers in epubs. I've always used to to make sure my covers will display correctly. Follow all the code in it, and your cover will display.

http://blog.threepress.org/2009/11/2...-cover-images/
SamL 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
Why no Covers in ePub from Kobobooks? hpjrt Kobo Reader 7 12-18-2010 01:38 AM
Saved Epub won't display in Epub Reader Coleccionista Calibre 3 08-22-2010 12:10 PM
epub covers quirk? with 0.7.2 Allis Calibre 4 06-24-2010 09:22 PM
Epub book covers in calibre zhuxi13 Calibre 1 02-06-2010 08:56 PM
Epub Covers-won't convert Ravensknight Calibre 3 08-23-2009 06:02 PM


All times are GMT -4. The time now is 07:44 PM.


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