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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-20-2012, 05:35 AM   #1
boatat72
Member
boatat72 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2011
Location: Cambridge UK
Device: Kindle, Sony Reader, iPad, Kobo, Nook
Cover image issues with Sigil 0.6 and Calibre

There are some extra things you need to do in Sigil 0.6 to get a cover image to display as it did with earlier versions. Otherwise the thumbnail will not appear, or the cover will be duplicated or appear once, but badly cropped. This particularly applies when converting to .epub and .mobi with Calibre.

This is covered by the new user manual for brand new documents but the solution below applies to a document I started in an older version of Sigil and then modified with 0.6
All names are case-sensitive and 0.6 uses .html not .xhtml now.

Go to Book Browser view;
In the "Text" folder make the first file "Cover.xhtml"
Right click on this and look at "Add Semantics", make sure that "Cover" is ticked.
In "Cover.xhtml" insert the image inside a header tag e.g. <h2 title="Cover"><img alt="" src="../Images/cover.jpg"/></h2>
In the "Images" folder make sure you have added "cover.jpg"
(This must be called "cover" but can be .gif or .png or .jpeg, as appropriate)
Right click on this and look at "Add Semantics", make sure that "Cover" is ticked here as well.
Open the "content.opf"
Add this tag to the metadata <meta content="cover.jpg" name="cover" /> just before the </metadata> tag

.epub books will open at the cover. It will also make the cover visible in the TOC for many .epub readers (not iBooks for the iPad) .mobi readers can use the "Go to" function to find the cover. This is as close as you can get to make any Kindle or Kindle app start at the cover.

Further info. "Cover" is a reserved word in the epub spec and for the Kindle. You can only use it to describe the outside front of a book. It is therefore not seen by some e-readers as Content, because it is not inside - unless you tell it that it is. Calibre does this by renaming the Cover.xhtml as titlepage.xhtml but it leaves the filename and the id (name) as "cover" so .epub readers still open at the Cover.

Last edited by boatat72; 11-20-2012 at 09:13 AM. Reason: Further investigation gave a new answer.
boatat72 is offline   Reply With Quote
Old 11-20-2012, 06:06 AM   #2
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@boatat72 - I'm sure meme will comment on what is or isn't in the manual, but you should not ever have to go fiddling in the opf file playing with the metadata tags. Just right-click on the cover.jpg image file in Book Browser and choose Add Semantics -> Cover Image.
kiwidude is offline   Reply With Quote
Old 11-20-2012, 06:16 AM   #3
boatat72
Member
boatat72 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2011
Location: Cambridge UK
Device: Kindle, Sony Reader, iPad, Kobo, Nook
Hi kiwidude
I made sure both Add Semantics "Cover" options were ticked but nothing was added to the opf. Adding the tag manually worked for me.
My problem could be that I started with a template created with an earlier version. I will make a new template and see what happens.

ps the new features of 0.6 are wonderful, especially the expanded toolbar and insert special characters. Many thanks.

Last edited by boatat72; 11-20-2012 at 09:17 AM. Reason: New Template works as expected, 1st post amended.
boatat72 is offline   Reply With Quote
Old 01-17-2013, 12:30 AM   #4
Kaverin
Junior Member
Kaverin began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2012
Device: Nook Simple Touch
I have to say thanks after reading this thread. For the past few weeks I've been reading The Dresden Files, but I'm getting picky about ebook formatting so they all look the same, and decided to force everything to look like I want with Sigil. An annoying problem I kept running into though was that cover images would not show up in Cool Reader on my NST, and affected files would also break CR's current book screen saver feature too. It turns out it's because of a missing <meta content="cover.jpg" name="cover" /> in the OPF file. After adding that in, everything shows up, and I don't have to manually copy in a cover picture on the broken epubs for the screen saver.
Kaverin 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
Sigil Cover image Question ralphiedee Sigil 9 05-30-2012 10:54 AM
Cover Image for Calibre Quick-Start Guide capidamonte Calibre 3 11-03-2010 07:08 AM
Weird formatting issues - Sigil .epub in Calibre viewer december Sigil 9 06-18-2010 04:04 PM
Cover Art issues in Calibre 0.6.52 auriel Calibre 2 05-11-2010 04:05 PM
Cover image going odd in Calibre fading Calibre 6 10-05-2009 01:27 PM


All times are GMT -4. The time now is 08:05 AM.


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