Hi, I am trying to put an image into my gui and it just displays a question mark like this. https://imgur.com/a/wJ0h9rV
This is my code,
var l1image = new CuiElement
{
Name = CuiHelper.GetGuid(),
Parent = loadout1panel,
Components =
{
new CuiRawImageComponent{Url = "https://imgur.com/a/fDFFqzH.png"},
new CuiRectTransformComponent{AnchorMin = "0.5 0.1", AnchorMax = "0.9 0.85"}
}
};
container1.Add(l1image);I've been trying to figure it out for ages now, can somebody please tell me why it doesn't work.