Quote:
Originally Posted by Velga
I change the book cover with the Calibre program in epub format. When I select and insert a new cover, it just replaces the previous one. However I would like to keep the original cover as a fly page, i.e. as the first image immediately following the new cover when I open the book.
Is it possible to do it in Calibre? If so, what are the procedures?
|
A 'cover' has (must) 2 special attributes that any other images and pages don't.
In the
guide section of the BOOKS OPF
Code:
<reference type="cover" title="Cover" href="Text/titlepage.xhtml"/>
and in the
Manifest
Code:
<item id="cover" href="Images/cover.jpeg" media-type="image/jpeg"/>
There is also an entry in the
Metadata section'
Code:
<meta name="cover" content="cover" />
That is what Calibre uses to replace, not the filename in itself (I rename those to alt-cvr to avoid confusion). Just to be clear. Calibre is
assumed to have the
Official cover.
You need to MANUALLY (not automatic without just making them go away) remove the flags (and rename files for safety) BEFORE adding the official cover.
NOTE: Calibre generated coverpages have some additional flags that may trip us up.
I happen to use Sigil (which I first learned), so I will list those steps first.
Have the BOOK file is open in the book editor for either.
Having the 'cover page' open in code view makes it easy to find the pieces;
Right click that filename in the file list: Add semantics... : select 'cover' (it is a
Toggle : OK
Look at the <image tag for the file name

right click: open tab for Image to jump the file browser to that name
Right click the images file name: Click cover (toggles the tick Off) : OK
OOPS! This does not toggle! BUG? (I usually just declare another existing image as 'cover' so I never tripped on this . That leave editing the OPF)
In Calibres editor: It looks like the OPF edit is also the only way to just
remove these flags.