View Single Post
Old 07-08-2017, 02:09 AM   #3
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,073
Karma: 169815798
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by kovidgoyal View Post
Covers are updated when updating metadata. And metadata is updated when sending files to a device. The original cover will not be replaced if it is not correctly identified as a cover in the opf file of the epub.
Quick question first, is the above correct or should it read "The original cover will not be replaced if it is correctly identified as a cover in the opf file".

As far as I can tell looking at the epubs that I have edited, the covers are correctly identified in epub 3.0 ebooks using:

Code:
<item id="cover-image" href="../Images/cover.jpg" media-type="image/jpeg" properties="cover-image"/>
For epub 2.0 ebooks, the boilerplate I use for cover images is two lines:

Code:
<item id="cover" href="cover.jpg" media-type="image/jpeg">
<meta name="cover" content="cover"/>
While I could understand this behaviour when a different cover image is being inserted, it seems rather pointless when the inserted cover image is a copy of the existing cover image.

Apart from anything else, adding a OEBPS directory inside an existing OEBPS directory is, to me, a rather odd thing to do.
DNSB is online now   Reply With Quote