In a completed (and valid) ePub, I had a couple images that were originally .jpg but I replaced them with (larger) .pngs because they were text and/or line drawings.
I changed all the references and item properties to match the .png files, but I am still getting a validation error from one chapter that calls up an image.
This is the problematic line:
Code:
<p class="timg"><img src="images/f136.png" alt="" /></p>
The error is “Referenced resource could not be found in the EPUB.”
So I’m stumped. The image is in the right directory, it has the right name, and it seems to be referenced properly. The related code in the package.opf is
Code:
<item id=”f136″ href=”images/f136.png” media-type=”image/png”/>
Any thoughts? The version using the .jpg has the same code except, of course, “jpg” replaces “png.” The really odd thing is that there are two images that I changed but only one is producing an error.
UPDATE: seems like it is validating now. Might have been a bout of stupidity. Pls. ignore.