![]() |
#1 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jan 2013
Location: British Columbia, Canada
Device: Android cell phone, iPhone using Bluefire on both
|
Oxygen XML Editor - Image error
Hey,
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? Thanks, Katie Last edited by Kayto; 04-12-2013 at 12:38 PM. Reason: Title error |
![]() |
![]() |
![]() |
#2 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
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. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
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.
Dale |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jan 2013
Location: British Columbia, Canada
Device: Android cell phone, iPhone using Bluefire on both
|
Thanks, Dale.
And thanks for the suggestion mrmikel. Unfortunatley that's not the problem. All of the pathways are accurate. |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Perhaps a case error? Remember, it is case sensitive.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jan 2013
Location: British Columbia, Canada
Device: Android cell phone, iPhone using Bluefire on both
|
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... |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
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?
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jan 2013
Location: British Columbia, Canada
Device: Android cell phone, iPhone using Bluefire on both
|
Here's the manifest of the OPF:
<manifest> <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"/> </manifest> |
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jan 2013
Location: British Columbia, Canada
Device: Android cell phone, iPhone using Bluefire on both
|
...and the images are located in OEBPS/images/ggs__001.jpg, etc.
|
![]() |
![]() |
![]() |
#10 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
|
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?
ie: Code:
ggs_001.jpg vs. ggs__001.jpg or based on your last post possibly the reverse? Last edited by mzmm; 04-16-2013 at 06:38 PM. |
![]() |
![]() |
![]() |
#11 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jan 2013
Location: British Columbia, Canada
Device: Android cell phone, iPhone using Bluefire on both
|
Yes. It's a typo in the original thread posting. The file names and all pathways have the double underscore.
|
![]() |
![]() |
![]() |
#12 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
|
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.
href="../images/ggs__013.jpg" should actually be href="images/ggs__013.jpg" ? |
![]() |
![]() |
![]() |
#13 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jan 2013
Location: British Columbia, Canada
Device: Android cell phone, iPhone using Bluefire on both
|
The images folder is in the OEBPS folder. Is this what you're referring to?
|
![]() |
![]() |
![]() |
#14 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
|
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'
|
![]() |
![]() |
![]() |
#15 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jan 2013
Location: British Columbia, Canada
Device: Android cell phone, iPhone using Bluefire on both
|
Huzzah! That was the problem. Thanks, mzmm.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Oxygen (SF/Adventure) by Randy Ingermanson 99 cents til Midnight 10/8 | crich70 | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 10-07-2011 05:31 PM |
xml epub | yuxi_kelly | ePub | 4 | 05-13-2011 10:52 AM |
ePub Creation Tools: Sigil vs Oxygen | twedigteam | ePub | 6 | 12-10-2010 03:41 AM |
Why xml?? | real_yoni | Sony Reader Dev Corner | 1 | 01-20-2009 11:45 AM |
PRS-500 Available XML commands | johnmcelfresh | Sony Reader Dev Corner | 0 | 08-18-2007 01:55 PM |