View Single Post
Old 06-29-2017, 03:07 PM   #4
JackTrade
Member
JackTrade began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Mar 2017
Device: none
Quote:
Originally Posted by DiapDealer View Post
NOTE: they have to be urls that contain src paths to the images that are relative to the html file in question (ex: src="../images/image001.jpg"). Images that use absolute file-path urls (ex: src="file:///C:/users/blah/desktop/image001.jpg") will not get imported into Sigil upon opening/importing (even though the image can be seen in the Preview Window). Perhaps that's what's going on? Those are recognized as external urls (like a link to an external website in an ebook) and are not processed/adjusted by Sigil.
Yup, that was it - the src paths were absolute, not relative. I don't know why it's an issue, but importing those files into the Sigil folders and converting absolute to relative solved the problem.

Interesting to note - the html file contains a link to a CSS file which was originally located in the same folder as that html file. Sigil seems to have copied the CSS file into its "../Styles" folder and converted the path - all without human intervention...
JackTrade is offline   Reply With Quote