Getting a game's thumbnail/game icon

I am making a game where you can teleport to people’s games, but I want to find out how to get their thumbnail to display it in the Gui. Thanks!

1 Like
placeID = 123456 -- The place's ID goes here
ImageUi = script.Parent -- Image Ui path goes here

-- This link will put image on Ui with "placeID" you put on top.
ImageUi.Image = "https://assetgame.roblox.com/Game/Tools/ThumbnailAsset.ashx?aid="..placeID.."&fmt=png&wd=420&ht=420"
1 Like

Using this link will use the game thumbnail: https://assetgame.roblox.com/Game/Tools/ThumbnailAsset.ashx?aid= Place ID should be here to display that place's particular thumbnail &fmt=png&wd=420&ht=420

1 Like

If you want to get a game’s thumbnail or icon, you generally need to use the thumbnails API and pass the correct asset or universe ID. The important part is making sure you’re requesting the right type.

For example, to get a game icon you would use GameIcon as the thumbnail type. For thumbnails, you would use GameThumbnail.

Something like this:

local HttpService = game:GetService(“HttpService”)

local universeId = 123456789 – replace with your universe id

local url = “https://thumbnails.roblox.com/v1/games/icons?universeIds=“..universeId..”&size=512x512&format=Png&isCircular=false

local response = HttpService:GetAsync(url)
local data = HttpService:JSONDecode(response)

print(data.data[1].imageUrl)

If you’re seeing default or missing images, double check these:

  • The universe ID is correct (not place ID)
  • The game actually has an uploaded icon or thumbnail
  • The asset has finished moderation
  • The size and type parameters match what you’re requesting

A surprisingly common issue is that developers never upload a proper thumbnail or icon, so the API just returns the default placeholder.

Also, if you’re creating your own thumbnails and icons, you can do everything directly in Roblox Studio without external tools. I recently put together a short walkthrough showing how to pose an avatar, set lighting, add text, and then export the thumbnail and crop it into an icon:

It covers the full workflow inside Studio using basic tools, which makes iteration much faster when you’re testing different visuals.