Jump to content

CEF local html and images


AfuSensi

Recommended Posts

I am unable to put any images in my local html via the browser.

If i load the image directly ( via loadBrowserURL(browser,"image.gif") ) it works correctly, but if i load a html page containing an image, it does not show.

HTML:

<html> 
<body > 
  
a 
<img src="dancething.gif"> 
a 
  
  
</body> 
</html> 
  

If i load this, it does show the text, but not the images.

This is in my meta:

<meta> 
    <info  description="test" type="misc" version="1.0" /> 
  
    <file src="dancething.gif"/> 
  
    <script src="test_c.lua" type="client" /> 
  
    <file src="html.html" /> 
  
  
  
</meta> 

This is what shows ingame:

NxphpSB.png

So my question is, is anyone able to show images in their local html ?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...