Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

Not a scripting question - Gui Images question?

Asked by
hiccup111 231 Moderation Voter
10 years ago

I note that in a few games, creators make their own 'PlayerList' - displaying an image of your and other player's ROBLOX Character onto a decal/screengui.

I have tried simply copying my own ROBLOX Character Id to a gui image, yet my character's image won't show up as an image.

Is there a specific Image code that needs to be used, to identify I'm looking for User Images?

Please, let me know if you have any information on this subject.

Even if it's just a hyperlink to the source of this problem.

1 answer

Log in to vote
2
Answered by
adark 5487 Badge of Merit Moderation Voter Community Moderator
10 years ago

The url you're looking for is this:

http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userid=

Simply concatenate the userID you want to display, choose a size to render, and set the value.

Certain size will not render, though, so you should test the sizes you want to use in your browser to see if it works, first.

0
Fantastic, Cheers. hiccup111 231 — 10y
0
Is there no source like the wiki for this stuff? - or is it just trial and error?... hiccup111 231 — 10y
0
The wiki doesn't have this for whatever reason. I've used it in the past so I have it in Firefox's history, which is where I got it from. It loads so fast I had to turn off my internet temporarily to actually copy the string, lol. adark 5487 — 10y
0
You wouldn't happen to know the url for getting model thumnails? =] hiccup111 231 — 10y
View all comments (3 more)
1
1
Wiki does have a page on it, on someone's User page: http://wiki.roblox.com/index.php/User:NXTBoy/Web_APIs BlueTaslem 18071 — 10y
0
Actually the page I've been looking for. Thanks for the bookmark. adark 5487 — 10y
Ad

Answer this question