Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-24-2011, 03:56 PM   #1
Antioch
Connoisseur
Antioch began at the beginning.
 
Posts: 79
Karma: 10
Join Date: Jun 2011
Device: Nook STR, Kobo Aura H2O, Kobo Libra 2
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, 06: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
Advert
Old 06-25-2011, 12: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: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
You'd probably be better off asking about this in the Sigil forum.
HarryT is offline   Reply With Quote
Old 06-25-2011, 01: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,947
Karma: 2077653593
Join Date: May 2009
Location: Vancouver, BC
Device: Kobo Libra 2, Nook Glowlight
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, 03: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
Advert
Reply


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 12:38 AM
Saved Epub won't display in Epub Reader Coleccionista Calibre 3 08-22-2010 11:10 AM
epub covers quirk? with 0.7.2 Allis Calibre 4 06-24-2010 08:22 PM
Epub book covers in calibre zhuxi13 Calibre 1 02-06-2010 07:56 PM
Epub Covers-won't convert Ravensknight Calibre 3 08-23-2009 05:02 PM


All times are GMT -4. The time now is 03:56 PM.


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