params["image"] = 'filename.png'
The image shows up as it should
But when I do:
params["image"] = file("filename.png")
No image is shown
I've tried setting the path to the image but it still doesn't work. If I'm doing this wrong or if there is another way of doing it please let me know.
This here shows the innermost code that gets the image shown but I am talking about including any calls to winset, winget, etc... & where you define which control your trying to set.
Something like that will allow people to test using the exact calls you are in their enirety to maybe get errors that could be occuring due to a byond bug, etc...weirder things have happened than a possible byond bug using certain control names, etc....causing an issue.
--I ask that because I got similar than what you are asking for to work easily but maybe because of something you haven't shown is causing a problem with it.