08-01-2017, 04:34 PM | #1 |
Enthusiast
Posts: 48
Karma: 10000
Join Date: Apr 2011
Device: iPad
|
Bug: multiple "cover-image" tags
I love the Add Cover... tool. Nice, responsive cover — what's not to like? But it's got a bug that I find irritating.
When you use it to replace a cover image, it adds the properties="cover-image" property to the new image in the OPF manifest... but doesn't remove it from the old one. This leads to epubcheck failure, and having to go back and find the old image and remove the property in the OPF file manually. Not a huge problem, but annoying. I'm running Sigil 0.9.8 on a MacBook Pro running macOS 10.12.6, FWIW. Other folks have run into this, right? I often have to replace the cover before uploading to KDP, since I don't want the full-scale image taking up valuable KB; and sometimes, with series, I'm simply dropping the new text (and cover) into the template file. Last edited by David Kudler; 08-01-2017 at 04:40 PM. |
08-01-2017, 05:12 PM | #2 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I don't typically use it to replace a cover image (I delete the existing cover image first), but I have witnessed some squirrelly behavior when used with existing covers in the past. I just never tracked down exactly what was happening.
I tend to use the InsertImageSVG plugin and just set the semantics manually for the cover image. But there's no reason why the built-in feature should not work correctly. I'll take a look at it when I get some time. |
Advert | |
|
08-01-2017, 05:27 PM | #3 |
Enthusiast
Posts: 48
Karma: 10000
Join Date: Apr 2011
Device: iPad
|
Thanks! I realize I'm being lazy —*and everyone's workflow is different. But it would be nifty to be able simply to replace the cover with one quick pass.
|
08-01-2017, 05:35 PM | #4 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I can duplicate the issue. It only affects EPUB3s. I see it, but I don't know how to fix it yet. Just "seeing it" is a huge part of the battle for me, though.
Thanks for the bug report and the details. P.S. the code in place is definitely intended to allow you to replace an existing cover, so it's not just a "lazy" thing. It's just missing a piece that removes the properties="cover-image" portion from a previously existing cover image with EPUB3s. |
08-04-2017, 02:07 PM | #5 |
Enthusiast
Posts: 48
Karma: 10000
Join Date: Apr 2011
Device: iPad
|
Thanks for the update! Nice to know I'm not just lazy or crazy (not just). ;-)
|
Advert | |
|
08-04-2017, 02:44 PM | #6 |
Resident Curmudgeon
Posts: 76,465
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
08-17-2017, 12:18 AM | #7 |
Enthusiast
Posts: 48
Karma: 10000
Join Date: Apr 2011
Device: iPad
|
|
08-17-2017, 02:59 PM | #8 |
Sigil Developer
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
|
This should now be fixed in master. As a workaround please use Tools->Epub3 Tools -> Update Manifest Properties and it should fix the duplicate cover-image properties.
Last edited by KevinH; 08-17-2017 at 03:30 PM. |
08-17-2017, 03:17 PM | #9 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Thanks, Kevin. I was checking out possible solutions for this but I couldn't quite find one that wasn't too "unwieldy."
|
08-18-2017, 02:54 PM | #10 |
Enthusiast
Posts: 48
Karma: 10000
Join Date: Apr 2011
Device: iPad
|
Nice! Thank you both.
|
Tags |
0.9.8, bug report, cover, cover tool, sigil |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I add image files to my library with thumbnails in the "cover" view? | woodr2011 | Library Management | 6 | 09-25-2015 07:56 PM |
Change cover using "Illustration"image | Ansem_93 | Editor | 5 | 09-13-2015 12:03 AM |
hierarchy feature using rough "Dewey number" instead of "genre" - multiple DDCs? | kite | Library Management | 4 | 10-13-2014 10:53 AM |
"The Economist" — cover image proportions | chewi | Recipes | 0 | 11-17-2012 02:53 AM |
KT "Ghost covers/files" again at 670 books, "stale" image entries in firmware | VirgoGirl | Kobo Reader | 4 | 04-06-2012 03:10 PM |