Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Not a scripting question - Gui Images question?

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

✓ Accepted answer

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.

7 comments

0

Fantastic, Cheers.

0

Is there no source like the wiki for this stuff? - or is it just trial and error?...

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.

0

You wouldn't happen to know the url for getting model thumnails? =]

1

Wiki does have a page on it, on someone's User page: http://wiki.roblox.com/index.php/User:NXTBoy/Web_APIs

0

Actually the page I've been looking for. Thanks for the bookmark.

This discussion is preserved as it was. New answers, comments, and votes are closed.