|
|
#1 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 82,670
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Bug in marking image as the cover with ePub2.
Then I mark an image as the cover in an ePub2, I get lines like...
This one is in the metadata. <meta name="cover" content="coverimg"/> This one is in the guide. <reference type="cover" href="images/9781984818553_cover.jpg"/> The line in the guide triggers an error in the latest epubcheck. So it would be a good idea not to add it to the guide so it won't have to be removed. The error is not a valid "OPS Content Document". |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,142
Karma: 29626604
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Does not replicate for me. Steps I tried:
1) Open an epub2 file in the editor 2) Right click on an image file and markit as the cover 3) There is no entry in the guide pointing to it, as expected. |
|
|
|
|
|
#3 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 82,670
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
This scrambled eBook shows the issue. Just mark the cover image as the cover and you'll see the error in the guide.
|
|
|
|
|
|
#4 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50,931
Karma: 179232776
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I checked the book. When I marked the file as the cover image, a item was added to guide section of the opf file pointing at the image and the metadata entry was also created.
Last edited by DNSB; Yesterday at 06:11 PM. Reason: removed comment about alternative ePub editor |
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,807
Karma: 9501034
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
When you mark the xhtml file as the Cover, then that guide entry is overwritten with the correct entry.
|
|
|
|
|
|
#6 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,142
Karma: 29626604
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yes if there is no proper html cover marked then the image is used as a fallback.So it will be fine when you mark the html cover.
|
|
|
|
|
|
#7 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 82,670
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Now that I've provided proof that this is a bug, is this going to be fixed? |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problems with names of image files in epub2 | philja | Sigil | 3 | 01-21-2023 12:33 PM |
| Default maximum cover image size bug/flaw | JSWolf | Calibre | 16 | 09-11-2017 01:37 AM |
| Bug: multiple "cover-image" tags | David Kudler | Sigil | 9 | 08-18-2017 01:54 PM |
| marking the cover | Oldpilot | Sigil | 8 | 09-24-2012 08:20 PM |
| Cover image bug with ePub for correct aspect | JSWolf | Conversion | 16 | 01-28-2011 04:31 PM |