View Single Post
Old 12-25-2020, 07:38 PM   #17
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: 46,860
Karma: 169712582
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by robin_reala View Post
I’ve just built and extracted the kepub for that book and logo.png is in there and referenced correctly. cover.png isn’t, but cover.jpg is and is referenced from the manifest with a cover-image properties.

Potentially you’ve got an older version? We do find and fix bugs, and the corpus is republished when that happens.
I just downloaded the kepub of The Black Star Passes. This copy is slightly different from the older copy. However, it's still not good. When I opened it in Sigil, I got a popup about unmanifested files (see attached image) and when I opened it, the manifest did not have the two .png image files mentioned in it.

I did make an error in my original message. The missing files were logo.png and titlepage.png, cover.jpg was present. The content.opf lines regarding the image files in the newly downloaded copy are below:

Code:
    <item id="cover.jpg" href="images/cover.jpg" media-type="image/jpeg" properties="cover-image"/>
    <item id="logo.svg" href="images/logo.svg" media-type="image/svg+xml"/>
    <item id="titlepage.svg" href="images/titlepage.svg" media-type="image/svg+xml"/>
I edited the content.opf file to correct the two entries to png from svg:

Code:
    <item id="cover.jpg" href="images/cover.jpg" media-type="image/jpeg" properties="cover-image"/>
    <item id="logo.png" href="images/logo.png" media-type="image/png"/>
    <item id="titlepage.png" href="images/titlepage.png" media-type="image/png"/>
And then the logo and titlepage worked.
Attached Thumbnails
Click image for larger version

Name:	Sigil_Opening_message.png
Views:	244
Size:	8.0 KB
ID:	184262   Click image for larger version

Name:	titlepage_prefix.png
Views:	237
Size:	13.0 KB
ID:	184263   Click image for larger version

Name:	titlepage_postfix.png
Views:	244
Size:	23.5 KB
ID:	184264  

Last edited by DNSB; 12-25-2020 at 07:47 PM. Reason: Added titlepage before and after images
DNSB is offline   Reply With Quote