AfuSensi Posted July 29, 2015 Share Posted July 29, 2015 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: So my question is, is anyone able to show images in their local html ? Link to comment
AfuSensi Posted July 29, 2015 Author Share Posted July 29, 2015 I solved this by loading the image in html with mtalocal:// <img src="mtalocal://dancething.gif"> Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now