Skip to content

bug: Cover not found inside EPUB file #769

@Eloren1

Description

@Eloren1

I unzipped two books to check sources, one displays the cover:

  <manifest>
    <item href="xhtml/cover.xhtml" id="cover" media-type="application/xhtml+xml" properties="calibre:title-page"/>
    <item href="xhtml/title.xhtml" id="title" media-type="application/xhtml+xml"/>
    <item href="xhtml/toc.xhtml" id="html-toc" media-type="application/xhtml+xml"/>
    <item href="xhtml/dedication.xhtml" id="dedication" media-type="application/xhtml+xml"/>
    <item href="xhtml/chapter001.xhtml" id="chapter001" media-type="application/xhtml+xml"/>

The other doesn't display the cover:

	<manifest>
		<item href="toc.ncx" id="ncx" media-type="text/xml"/>
        <item href="page-template.xpgt" id="pt" media-type="application/vnd.adobe-page-template+xml"/>
		<item href="9780061748998_cover.html" id="cover-page" media-type="application/xhtml+xml"/>        
		<item href="9780061748998_title.html" id="x_9780061748998_01" media-type="application/xhtml+xml"/>
		<item href="9780061748998_dedication.html" id="x_9780061748998_02" media-type="application/xhtml+xml"/>

However, KOReader and online readers do display the cover. Is the difference in the id or something else? If that's not the case, let me know and I'll check for more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions