tags:

views:

439

answers:

1

Hi! I'm trying to use Gtk port of Webkit. All works fine. But when I'm using local path in src attribute to load image from my HDD (src="file://...") I'm getting the next warning in console:

not allowed to load local resource file://...

And image doesn't loading. Any suggestions?

P.S. I'm using load_string method with fake base url (fake://url).

+2  A: 

If you use "file://" as the base URL, then it should work. It's unclear to me whether this is a bug and whether it should also work if the base URL is NULL (it doesn't), but see the discussion starting here on the webkit-dev mailing list.

ptomato
Thanks! Now it's works.
troorl