View Full Version : Oxygen XML Editor - Image error

04-12-2013, 01:37 PM

I couldn't find a forum on here specifically geared to Oxygen XML Editor, so I thought this would be the best alternative.

When I validate my epub file, I'm receiving this error:

"E [EpubCheck] image file images/ggs_001.jpg is missing"

and then this below:

"E [EpubCheck] 'OEBPS/images/ggs_001.jpg': referenced resource exists, but not declared in the OPF file"

The images are definitely listed in the manifest of the opt file. They also appear in fine condition when I open the epub in Adobe Digital Editions. I'm worried about how they'll appear in a mobi file though.

Any advice or knowledge to share on these error messages?


04-12-2013, 02:30 PM
This sort of thing can happen if you have spaces in the file name, or the case Filename vs filename don't match, images/ vs Images.

Typically it could be ../images. Check the path.

04-12-2013, 04:56 PM
If you don't find a tool forum dedicated to your tool then place the question in the more general forum, in this case ePub. In generally you are better off than putting a question is a forum totally unrelated to the product you are asking about. I moved the thread.


04-12-2013, 06:19 PM
Thanks, Dale.

And thanks for the suggestion mrmikel. Unfortunatley that's not the problem. All of the pathways are accurate.

04-13-2013, 10:52 AM
Perhaps a case error? Remember, it is case sensitive.

04-16-2013, 03:02 PM
Unfortunately it's not. I've tried unzipping, re-importing the images, and then re-zipping to try and fix this, but I can't seem to find the problem. There's no issue with the pathways (typos, case sensitivities).

I'm confused because on the one hand the error is saying that the image file is missing, but then there's another error message saying that it exists in the zip file but is not declared in the OPF. It's definitely in both...

04-16-2013, 04:46 PM
can you post it? It must be a reference out of order. How do you call the image and how is it defined in the opf?

04-16-2013, 04:56 PM
Here's the manifest of the OPF:

<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
<item id="css" href="template.css" media-type="text/css"/>
<item id="Cover" href="Cover.html" media-type="application/xhtml+xml"/>
<item id="titlepage" href="titlepage.html" media-type="application/xhtml+xml"/>
<item id="cip" href="cip.html" media-type="application/xhtml+xml"/>
<item id="dedication" href="dedication.html" media-type="application/xhtml+xml"/>
<item id="ch1" href="ch1.html" media-type="application/xhtml+xml"/>
<item id="ch2" href="ch2.html" media-type="application/xhtml+xml"/>
<item id="ch3" href="ch3.html" media-type="application/xhtml+xml"/>
<item id="ch4" href="ch4.html" media-type="application/xhtml+xml"/>
<item id="ch5" href="ch5.html" media-type="application/xhtml+xml"/>
<item id="ch6" href="ch6.html" media-type="application/xhtml+xml"/>
<item id="ch7" href="ch7.html" media-type="application/xhtml+xml"/>
<item id="ch8" href="ch8.html" media-type="application/xhtml+xml"/>
<item id="ch9" href="ch9.html" media-type="application/xhtml+xml"/>
<item id="ch10" href="ch10.html" media-type="application/xhtml+xml"/>
<item id="ch11" href="ch11.html" media-type="application/xhtml+xml"/>
<item id="ch12" href="ch12.html" media-type="application/xhtml+xml"/>
<item id="ch13" href="ch13.html" media-type="application/xhtml+xml"/>
<item id="ch14" href="ch14.html" media-type="application/xhtml+xml"/>
<item id="authorbio" href="authorbio.html" media-type="application/xhtml+xml"/>
<item id="cover_fmt.jpeg" href="images/cover_fmt.jpeg" media-type="image/jpeg"/>
<item id="Titlepage_fmt.png" href="images/Titlepage_fmt.png" media-type="image/png"/>
<item id="image1" href="../images/ggs__001.jpg" media-type="image/jpeg"/>
<item id="image2" href="../images/ggs__002.jpg" media-type="image/jpeg"/>
<item id="image3" href="../images/ggs__003.jpg" media-type="image/jpeg"/>
<item id="image4" href="../images/ggs__004.jpg" media-type="image/jpeg"/>
<item id="image5" href="../images/ggs__005.jpg" media-type="image/jpeg"/>
<item id="image6" href="../images/ggs__006.jpg" media-type="image/jpeg"/>
<item id="image7" href="../images/ggs__007.jpg" media-type="image/jpeg"/>
<item id="image8" href="../images/ggs__008.jpg" media-type="image/jpeg"/>
<item id="image9" href="../images/ggs__009.jpg" media-type="image/jpeg"/>
<item id="image10" href="../images/ggs__010.jpg" media-type="image/jpeg"/>
<item id="image11" href="../images/ggs__011.jpg" media-type="image/jpeg"/>
<item id="image12" href="../images/ggs__012.jpg" media-type="image/jpeg"/>
<item id="image13" href="../images/ggs__013.jpg" media-type="image/jpeg"/>
<item id="image14" href="../images/ggs__014.jpg" media-type="image/jpeg"/>
<item id="authorphoto" href="../images/authorphoto.jpg" media-type="image/jpeg"/>

04-16-2013, 04:56 PM
...and the images are located in OEBPS/images/ggs__001.jpg, etc.

04-16-2013, 07:30 PM
are you aware that there are 2 underscores in the 'ggs__#' declarations in the manifest but that the image element in your OP only has one underscore in it?


ggs_001.jpg vs.


seems like you might be typing single underscores into the html, double underscores in the opf, and the filenames themselves are with single underscores.

or based on your last post possibly the reverse?

04-16-2013, 07:42 PM
Yes. It's a typo in the original thread posting. The file names and all pathways have the double underscore.

04-16-2013, 08:01 PM
or maybe the relative paths to the images in the opf is incorrect? the paths in the opf make it seems like image folder is in the folder that contains the OPS folder, rather than in the OPS folder itself.


should actually be



04-16-2013, 08:06 PM
The images folder is in the OEBPS folder. Is this what you're referring to?

04-16-2013, 08:30 PM
yes. and if the images folder is in the OEBPS folder, and the content.opf is in the OEBPS folder, then the path from the opf to an image would be 'images/image.jpg' rather than '../images/image.jpg'

04-17-2013, 12:50 PM
Huzzah! That was the problem. Thanks, mzmm.