This bug is probably windows specific. If there's an image at C:\image.jpg, and it is contained inside an HTML file, it is correctly displayed. However images that don't reside on C:\ cannot be displayed. The following table gives an overview: | Image path | HTML code | Observation | | C:\image.jpg | <img src="file://C:\image.jpg" border="0" alt=""/> | Works | | C:\image.jpg | <img src="file://D:\image.jpg" border="0" alt=""/> | Works although path is incorrect, drive letter can even be omitted | | D:\image.jpg | <img src="file://D:\image.jpg" border="0" alt=""/> | Image not found | | D:\image.jpg | <img src="file://C:\image.jpg" border="0" alt=""/> | Image not found (this is expected) | The issue is also discussed at https://bugs.launchpad.net/rednotebook/+bug/663944 .
See also bug 21972 (duplicate?)
What version of WebKitGTK+ did you observe this with? This sounds like a libsoup bug.
Well, I used the dlls from http://opensourcepack.blogspot.com/2009/12/pywebkitgtk-windows-binary.html I think that was webkit version 1.2.0 and libsoup-2.4-1.dll (2.30).
I tried loading a problematic HTML file with midori and it works fine. I then copied the libsoup-2.4-1.dll file into my webkit directory, but it does not fix the error. So this may be something else than libsoup.
I think the problem was a missing slash. Apparently on windows you have to write file:///C:\myfile.txt instead of file://C:\myfile.txt
Okay. I'll close this bug then. Feel free to open a new bug if you encounter more issues.