View Single Post
Old 09-14-2024, 10:50 AM   #88
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,162
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
KoboUtilities will upload the cover image and flag it in the database bypassing reading the information from the ePub file. What I was looking for was in the content.opf (actually filename.opf but content is popular):

Code:
<item id="cover" href="Images/cover.jpeg" media-type="image/jpeg" properties="cover-image"/>
See the image for the text file bits.

The code I use for displaying the cover image is an SVG wrapper with ePub2 and ePub3 compatibility courtesy of RbJrg (see this message for the code.
RbJrg's code is not ePub2 compatible. You have to change height: 99vh; to height: 99%; to be ePub2 compatible.
JSWolf is offline   Reply With Quote