How Would You See Badge Icon In ImageLabel?

I was looking for a way to show the badge icon through the game without having to upload any decals. For example, I am going to have how many badges you own out of how many there are in the game and I want to execute it so that they could show the badge icon. Thanks!

1 Like

You have to. Just upload a decal simple as that

You can get the Badge Info which returns the icon ID.

Read more about it here: BadgeService | Roblox Creator Documentation

@0Luke_Skywalker0 Your information is incorrect, it’s one way but this way is a lot easier to do.

4 Likes

Thanks! I had no idea that this was even an Async…

There would still be an assetId, which means that it still has to be uploaded

Nope, you’d receive the image ID which can be used as the image value like so:

ImageLabel.Image = "rbxassetid://"..ID
1 Like

Yes, the image has to be uploaded then. I don’t see why you think you can use images without uploading them to roblox first? It even has an asset id as you nicely pointed out yourself, which means that it was an asset uploaded to roblox

It was uploaded during the making of the badge. The OP asked if it’s possible to get THAT Id so that he can show it in an image label

The op asked if it was possible without uploading, and the answer is simply no. However some people believe that is not the case and you can use an image without uploading it to roblox and going through filtering first. They can believe what they want. I will stop arguing for the sake of my time

The OP asked if it was possible to show the icon which he uploaded without having to upload it as a decal.

No, you don’t. I’ve done this several times and this is not the case. Please stop doubting us if we’ve done this.

@RamonPIayz Do the following once you’ve received the ID of the badge image:

ImageLabel.Image = "rbxthumb://type=BadgeIcon&id="..ID.."&w=150&h=150"

You can read more about it here: https://developer.roblox.com/en-us/articles/Content#rbxthumb

6 Likes

You have to give an image while uploading a badge, OP is asking if its possible to retrieve that image without having to upload another one from studio again. Which is possible obviously

Seems like you might have misunderstood what the OP wanted.

2 Likes