Cant load images inside the game

hello robloxians,
so i made a pet system with inventory and all. when i try to see my pets is no show me sombody know why? here some pictures about that: image


and i check the images on the web and roblox check them and everyone can see them on the web.
image
link to picture: snowmannoraml - Roblox

Did you use the correct ImageID?

Check if your ZIndex is set correctly as it might be possible that some of the assets are above your ImageLabel which blocks the image.

yes i am using the correct ID and the ZIndex is fine i checked that.

Do you run it from Studio? If I recall correctly, you sometimes need to enable http services in Studio in order for stuff to work. In this case you have a failing http request, so it might be worth a shot.

i run that from the game no from studio.

Okay, can I diagnose a few things first?

  • Is the format “rblxassetid://0”?
  • Is this ran by a script, if so hows it ran?
  • If its ran by script, is it local or script?

Thank you for your concerns,
I am thrilled to help you in every way possible to get this fixed.

If you are doing this whilst programming, you cannot load the image as a Decal ID, you need to get the Image ID first, and then change the image to that,

image.Image = "rbxassetid://IMAGEID" -- not the Decal ID

If this isn’t a programming related issue, like @WolfieTheDino mentioned, how is your image link formatted? Is it the Decal ID or Image ID? If you insert the Decal ID into the image while in studio, you should instantly have it convert from the Decal ID to the Image ID. Roblox doesn’t have a feature for that in game though. Meaning if inserted a Decal ID in studio, it’ll convert it to the Image ID, so you could copy that ID and put it in your script. In the other hand, if it is inserted in-game, it wont convert it to a image ID ( if a decal ID is provided for the image ).

Hope this helped, good luck!

2 Likes

well is run by script and stringvalue but is fixed.

So this problem is no longer occuring?
If so please mark as solved/solution.