Open 1UniQueGirl1 opened 4 years ago
Remember to put images to html/img, then don't forget to put them into _resource.lua I personally use *'html/img/.png',**
files({
'html/index.html',
'html/script.js',
'html/style.css',
'html/img/*.png',
'html/font/vibes.ttf',
'html/img/box.png',
'html/img/carticon.png',
})
After that you add images to config.lua
Config.Images = {
[1]= {item = "pineapple", src = "img/pineapple.png"},
}
i have already do that and I don't see any of my pictures even the box image
Same problem for me, any sugestion please
same issue here... I found server/main.lua lines 87-94 has:
if data[1] == nil then imgsrc = 'img/box.png'
for i=1, #Config.Images, 1 do
if Config.Images[i].item == Item then
imgsrc = Config.Images[i].src
end
end
but I change the "box" to any other pic I have put in to test if that is where the box is being pulled from I get no changes. So completly lost on where the script is pulling the box from if the resource and config lua's are completed correctly as stated above.
Thanks for the assist!!
same issue for me it jus shows bread and water and boxes
I don't see any of my pictures