|
|
#1 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Nov 2026
Device: none
|
EPUB validation error – missing image file in Calibre
Hello,
I have an EPUB book that I am trying to validate, but I cannot resolve a validation error. The validator reports a missing image resource: media/file38.png I have checked the EPUB in Calibre and tried searching the files, but I have not been able to locate the reference that causes this error. The book contains an About the Author section with an author photograph. I have checked the image files, but I am still unsure where the incorrect reference is located. Could someone please explain how I can find the reference to this missing image and correct the EPUB? I am using Calibre on Windows. Thank you for your help! |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 32,055
Karma: 65709392
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Images can be in the CSS (they are usually Backgrounds).
Didn't the debug message say (right side) where it was called from? |
|
|
|
|
|
#3 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,602
Karma: 154365185
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Usually images in CSS are for section breaks.
|
|
|
|
|
|
#4 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55,754
Karma: 182800000
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
They can also be used for background images. In one memorable ePub, the cover image was linked in the CSS as a background image with no foreground text (memorable as in who created this piece of crap).
|
|
|
|
|
|
#5 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,602
Karma: 154365185
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
|
|
#6 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55,754
Karma: 182800000
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I actually don't know. It was a selfpubbed book and the only credit in the copyright was Formatting by Greenman. No link or any other information.
|
|
|
|
|
|
#7 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,602
Karma: 154365185
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
|
|
#8 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55,754
Karma: 182800000
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Strictly speaking, it was a properly made ePub. At the time I ran into it, epubcheck had no issues other than the cover image not been marked as the cover image. OTOH several ereaders would not correctly display the cover page.
From the stacked divs that increased with each chapter, I did wonder if they were related to the company used by Baen (Pages by Joy Freeman) whose workflow, at one time, added a new div for every html file. One example was Ben Bova's Mars Inc. where the last chapter started with 87 stacked divs. This was what led to my first saved search in Sigil when that feature was added. |
|
|
|
|
|
#9 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,602
Karma: 154365185
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I've only seen Baen books make using a calibre conversion. But 87 divs is beyond silly. When did Baen drop that company? |
|
|
|
|
|
|
#10 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 32,055
Karma: 65709392
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
|
|
|
|
|
#11 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55,754
Karma: 182800000
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
My saved search was handy since it let the computer do the scut work just the way it is intended to.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Epub 2.0.1 validator error: "Error while parsing file: element "img" missing required | justin-b-918 | ePub | 6 | 04-26-2022 11:02 AM |
| Validation error after changing image type | kongjie | ePub | 2 | 05-05-2017 08:29 PM |
| Validation Error on SVG image No RDF allowed | GrannyGrump | ePub | 5 | 06-23-2014 07:28 PM |
| epub validation error -- image not reachable | vootie | ePub | 14 | 03-08-2012 11:34 AM |
| Image Validation Error | tracyy | Sigil | 2 | 10-23-2011 04:42 AM |