New image endpoints that can be used in-game!


https://www.roblox.com/bust-thumbnail/image?userId=48103520&width=420&height=420&format=png
https://www.roblox.com/headshot-thumbnail/image?userId=48103520&width=420&height=420&format=png
https://www.roblox.com/outfit-thumbnail/image?userOutfitId=26415539&width=420&height=420&format=png
https://www.roblox.com/asset-thumbnail/image?assetId=26769281&width=420&height=420&format=png
These image four endpoints are now usable as textures in-game, enjoy! :smiley:

EDIT
rbxthumb content ID format is preferred over thumbnail image URLs.
See: New ContentId format for easy thumbnail loading

334 Likes
Trouble loading Avatar Thumbnail In game
Clothing picture Getter?
Setting bot images on Discord webhooks possible?
Getting a badge's image ID
How to get the Uniform ID?
______ Has joined the game!
New ContentId format for easy thumbnail loading
Is there any way to get a picture of a shirt as shown in the catalog from the website?
Help needed for getting an avatar headshot via thumbnails.roblox.com
How would I get an avatar's png in python?
Using Roblox Catalog Asset Images
Get thumbnail of model like GetUserThumbnailAsync
Some avatar endpoints no longer exist
Experience thumbnail URLs are no longer usable for webhooks
Grabbing player avatar images from link
Sooo... exactly HOW are we supposed to be using the thumbnail API in our scripts? (2023 new image endpoints)
Integrate Your Roblox Marketplace Items Into Guilded
Getting profile picture of player
Feedback on Discord-styled chat gui
How would I get the image for a limited on the Roblox catalog?
Is it possible to get a gear's 2D icon ingame?
Experience thumbnail URLs are no longer usable for webhooks
Gettting a player thumbnail for a Discord webhook
Headshot Sizes > Fit them better into imagelabels
What is the link/image id for a picture of a players character?
Preview rbxassetid strings in script editor
How to get catalog image from asset id
My first game! Looking for feedback. What can I improve?
Performance issues with lots of ViewportFrames (mostly occurring on low-end devices)
How to get the headshot image of a player?
Looping through group ranks to get names
How to get thumbnail of catalog items using the item’s assetId
Load catalog icons
Need a script for loading current players profile pic
How can I get a high quality image of a roblox hat?

Ohhhh this is neat! Thanks!

5 Likes

Is the headshot the one that appears in the top left on the Home and Profile pages?

1 Like

I will definitely be using this in the future.
Awesome :smiley:

<3!

1 Like

Tried this method in a ImageLabel.
Didn’t go well.

Bust:

1 Like

blob.jpg
I don’t see the same result when using it as the Image for an ImageLabel?

3 Likes

Yes

3 Likes

Found out that it was happening, because my frame was sized wrong.

2 Likes

Someone may want to update the wiki for this.
Also, can the &width=420&height=420 be changed to something smaller (ex: 200 x 200, 120 x 120) with it actually returning the image size? I plan to use the head-shots for my round selector, and the image labels are about 100x100.

2 Likes

I’ve updated the page.
Https added to all links and ofc the images from this post.
(waiting approval)

1 Like

@Wsly You prayers have been heard. Thanks @WebGL3D

2 Likes

These are awesome!!!

I’ll just repeat a suggestion I made earlier, when the character doesn’t load and therefore returns a solid grey “?” image on any of these textures, can we have those be replaced by a ghost version of what you would expect it to return? In nearly any game utilizing these head shots I’ve seen at least one player continuously showing up as a huge grey square. It breaks any interface and is a major flaw preventing great designs!!

7 Likes

Sizes can be the same as Avatar.ashx, and Asset.ashx:
48 x 48
60 x 62
75 x 75
100 x 100
110 x 110
160 x 100
250 x 250
352 x 352
420 x 230
420 x 420

16 Likes

What we need is a Lua API for requesting thumbnails that returns whether or not the thumbnail is still loading. That way, the developer can choose not to display an image, or to poll until the image loads. This is what the ROBLOX website does.

24 Likes

I’m using the R15 beta character and for headshots I am getting this:
headshot.png
Notice the shirtless torso and arms. Compare that to my online profile and you will see I am wearing a shirt.
Screenshot_7.png

4 Likes

R15 is having issues with rendering clothing at the moment. I don’t think it’s an issue with the thumbnails themselves.

3 Likes

Could we get one that’s just their head, no body on it so that we can place it over things and use it more like an icon?

10 Likes

A temporary workaround for this is to set up a server to poll the endpoint’s json, and use HttpService against your server.
All the endpoints I listed in the original post have jsons if you replace ‘image’ with ‘json’
e.g. https://www.roblox.com/headshot-thumbnail/json?userId=48103520&width=420&height=420&format=png

6 Likes

These are finally enabled, I love you <3

1 Like