How to load thumbnails of another games?

how to upload thumbnail of another game on part(surface Gui)??
(i cant load screenshot)

get the games thumbnail and download it locally to your pc. make sure that this can cause no legal trouble. upload the image as decal on https://www.roblox.com/develop under Development Items. If uploaded and approved, you then have an asset ID that you can use to put on your SurfaceGui.

Use HttpService and then use this link:
https://www.roblox.com/asset-thumbnail/image?assetId=GAMEIDHERE&width=768&height=432&format=png

Ill make some example code in a sec!

Aren’t calls to the Roblox API and Roblox URLs denied? Not too sure if they changed it, but if @123wolfyking way works, then it is also a very good solution.
Just remember that you can only make about 500 HttpService calls per minute per server.

Yes, calls to Roblox API are denied, but there is a workaround i’m sure. Just noticed that while coding!

Use this code on the server: (may be depracated)

local gameID = 81405967019996 -- Replace with your game id
local imageLabel = script.Parent -- Replace with your image label

imageLabel.Image = "https://assetgame.roblox.com/Game/Tools/ThumbnailAsset.ashx?aid="..gameID.."&fmt=png&wd=420&ht=420"
1 Like

what if game has 2 or more thumbnails?

It always gets the first one. So the one that gets displayed on the website recommended page.
So the thumbnails you see right here:

1 Like

thank you very much. is there any documentation about this access to the roblox site?

Not that i know of.

This text will be blurred

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.