Quote:
Originally Posted by dwig
I've had the image only cover happen to me a few times, once recently. I usually add the cover in Calibre's Editor but several days ago I encounted a book with a Calibre generated cover image without an xHTML file.
I think the book was the one where I did a quickie reformat: - I added the book to Calibre on my desktop machine, added the cover and did a Save to Disk.
- I then moved the exported book to my Windows tablet, which is my main Calibre machine.
- There I added the book to the library.
- Then a few days ago, I did a Save to Disk on the tablet to put the book into my reader app.
I found some undesireable background colors were set so I went back to Calibre on my tablet, found the book and opened it in the Editor to fix the Styles. While there I saw that there was to xHTML for the cover, only a cover JPEG. My reader app hadn't minded the lack of the xHTML, but I used Editor to generate one using the existing JPEG anyway.
|
The "Save to disk" is the culprit. A little while ago, the metadata updating was changed. Before this, if there was nothing that could be identified as the cover image (by name, marked as cover, used by the cover page and other things), the cover wasn't added. If the cover could be identified, it was updated. After this, the cover image in the library was added and was marked in the OPF as a cover. The next version of calibre added an option to the epub metadata writer plugin to not do this. Save to disk will update the metadata and add the cover image to the file and the OPF.
Actually, the edit could have been as well. If you have enabled the option in the editor to update the metadata when loading, then the same thing could have happened when you opened the editor.