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

How do I get a mesh's Thumbnail / Picture?

Asked by
Xduel 211 Moderation Voter
9 years ago

So I have a lot of mesh's, and need there picture as a decal. I'm not feeling the mood to put every mesh in front of a green screen, print screen, remove green, and upload it. So is there a way to get a mesh's picture for a decal? All I know is the way of getting a player avatar;

http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=<player name here>

It seems that it must be possible; in Catalog Heaven, the catalog is able to grab the mesh of all the items in the ROBLOX Catalog and put it on a Image GUI. So does anyone have the answer? All answers appreciated, thank you.

1 answer

Log in to vote
1
Answered by
Scriptecx 124
9 years ago

Put Image property of the ImageLabel/Button to this:

http://www.roblox.com/Thumbs/Asset.ashx?width=110&height=110&assetId=ASSETIDHERE

Then put the ASSETIDHERE to whatever the assets id is. This should load the image.

0
Works like a charm. Only think is I wish it worked only for meshs, like the mesh ID and Texture rather than its catalog number, but this works well to. Thanks! Xduel 211 — 9y
Ad

Answer this question