View Single Post
Old 05-29-2012, 02:53 AM   #295
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@JSWolf - I follow the same approach as the calibre conversion logic does of putting the replacement cover image and html page in the root of the epub, rather than trying to "guess" what the image and content directories are named. It is a possible enhancement to try to put them in similar places that I could attempt, though it is a pretty low priority given most users don't care about how the epub is structured internally (since the likes of Sigil will reorganise the content anyway).

As for the NCX - I need you to PM me a link to the epub in its "before" state so that I can see for myself what is happening. Certainly there is code in there intended to re-point the ncx to the new cover, but obviously you found a situation which beats that logic which is most definitely of interest to me.
kiwidude is offline   Reply With Quote