General Problem
I keep getting an error message when I try to upload my EPUB file on Smashwords:
"File 'Illirium_Map_There_was_Music.jpg' in EPUB not listed in manifest! Your .epub file is missing one or more elements in its manifest. . . ."
After extensive review, and scouring the internet for troubleshooting solutions, I cannot figure out how to resolve this. I have run the EPUB through another EPUB Validator, which finds no errors (see attached screenshot), and reviewed the manifest manually using Calibre (via the content.opf listing - see attached screenshot), which shows the image in question as part of the manifest - with consistent naming. Moreover, the files are clearly listed in the directory, and no other aggregator site has raised this problem with the exact same EPUB file.
Smashword Response, Part 1
I contacted the Smashword Service Team, and using my actual EPUB file, a member reviewed it with their tech team. He responded:
"I had our techies take a look at the EPUB and they suspect it's due to the formatting of the underlying HTML for that particular file in your EPUB manifest. Specifically, they suspect it's due to the "../" in the HTML for the file in question:
<item id="id1" href="../Illirium_Map_There_was_Music.jpg" media-type="image/jpeg"/>
By contrast, your other elements include the exact directories, e.g.:
<item id="image_cover" href="Images/d84614660b3bc605c904b4cb49ac72bc55c6934e_smallRaw. jpg" media-type="image/jpeg"/>
<item id="content_8_part-2-wilderness" href="Text/8_part-2-wilderness.xhtml" media-type="application/xhtml+xml"/>
Updating the href attribute to explicitly include the entire directory will likely fix the issue.
Question about Calibre
I originally entered that image using Calibre, while the rest of the EPUB was generated by Reedsy, the former took the complete file name "Illirium_Map_There_was_Music" and added the ".../" preceding it for some reason. I've tried removing and re-adding the image file a couple times, but the same result occurs.
Trying to edit the ePUB manually, I do not appear to be able to change the registry listing (i.e. removing the ".../") without creating a link error within the EPUB, which removes the image.
Smashword Response, Part 2
Inquiring further about this, the representative responded:
You'll need to move the image out of the root directory into the oebps directory, and update the link to the image everywhere it's used through out the book as well as the manifest.
Lingering Question
Does anyone know how to do this, if that is indeed the problem? Or is there something else I am missing? Again, this error has not come up with any other eBook aggregator.
Thank you very much for your time and help.