Hi Actually,
This is a bug. Ignore the epub he created and all of the pieces. If you look in his html folder inside of book1/ you will find 3 very correct .xhtml files that properly show the images.
If he right clicks on Text in Sigil (lhs panel) and imports the chapter1.xhtml, all of the images from ch1 are properly imported.
If he again right clicks on Text in Sigil (lhs panel) and adds existing file chapter2.xhtml, his images are not properly grabbed from the ch2 folder (or they overwrite the last set?).
If he again right clicks on Text in Sigil (lhs panel) and adds existing file chapter3.xhtml, his images are again either not properly grabbed from ch3 folder or they overwrite images of the same name.
Since the underlying html is correct and works (including links to images), then I think this process should work in Sigil as well. It does not. I am so used to importing just one large xhtml file with images inside of it and splitting it into chapters, that I have never tried importing/adding existing xhtml files.
Perhaps there is a better way (try importing the images first?) but I do think as long as the underlying html files are proper, the order of how you import them should not impact the image files (subdirectories) should be seen and the directory structure should be recreated in the Images subdirectory.
Again, I could be all wet here but it does look like an issue that needs to be addressed for people that try and import multiple xhtml files into one project with subdirectories used to house different images all with the same name.
I assume just renaming the images files would work here but ...
My 2 cents,
KevinH
|