Quote:
Originally Posted by Ray Tayek
i made a small test case that shows the problem. the files in the attched zip are listed below.
the epub was made by sigil 0.3.1 4.7.0.
i added the three xhtml files and saved.
the opf, mbpm and prc files are not relevant.
thanks
book1/book1.epub
book1/book1.mbp (ignore)
book1/book1.opf (ignore)
book1/book1.prc (ignore)
book1/html/
book1/html/ch1/
book1/html/ch1/image001.gif
book1/html/ch1/image002.gif
book1/html/ch1/image003.gif
book1/html/ch2/
book1/html/ch2/image001.gif
book1/html/ch2/image002.gif
book1/html/ch2/image003.gif
book1/html/ch3/
book1/html/ch3/image001.gif
book1/html/ch3/image002.gif
book1/html/ch3/image003.gif
book1/html/chapter1.xhtml
book1/html/chapter2.xhtml
book1/html/chapter3.xhtml
book1/mbp_toc.html
|
Ray:
I've opened your book and looked at the xhtml, in Sigil. I must be a spazz, because I don't know what you're talking about. In your Ch. 2, you call the images thusly:
Code:
<img alt="go diagram" src="ch2/image003.gif" />
which won't work in any event, because there is no "folder" INSIDE of Sigil called "ch2/image003.gif." There's simply Images/imagename.extension.
I'm not sure I understand what you're doing. Are you uploading html file after html file, as, let's say, different chapters, and inside each chapter, you have images that you've named the same thing (i.e., image001, image002, image003)? If that's the case, Sigil will, normally, rename them, but it won't rename them, to the best of my knowledge, with a chapter name prefix like yours. (n.b. - it
might...Valloric will know better than I,
obviously, but when I've uploaded an image with the same name, it adds 001, 002, 003, appended, not prepended.)
And the example, I think, is not explaining your issue--at least, it doesn't to me. What I see, in this, is simply that in Chapters 2 and 3, the image source pathname is wrong. I'd need to see the original html chapters that were uploaded, if the issue is that somehow, the IMAGES that were called in those chapters weren't uploaded? As it is now, all the images that are properly called with the correct path show...and the others don't, because the html is wrong.
Can you clarify, please, Ray?
Thx,
Hitch