How to get a PLACE THUMBNAIL for imagelabel with a script?

I need to get a PLACE thumbnail for my imagelabel through a script. And I mean PLACE not starter place/experience

Do you specifically need it through it script? If not, there’s a much easier way to do it. Just click on the image label, then look for Image in the Image tab, then click it, click Add Image and assuming you picture’s file format is compatible with Roblox, it should pop up. Hope this helps!

It must be through a script—

1 Like

Wait why do you need to get it through a script? Not trying to be rude, just curious.

1 Like

because I have a place selector gui and I dont want to be editing the gui every time I make a new place

Sorry, I don’t know a lot about how to do that. I did find an article relating to it, so I hope this is helpful: How do I get Game Icons/Thumbnails?

1 Like

It doesn’t work for individual places

Here’s something I got from Bing AI Co-pilot when searching up the problem. Try it out, and tell me if it works. (This is kind of a last ditch effort. If this doesn’t work, I don’t know what would.)

local Players = game:GetService("Players")

-- Replace 'placeId' with your actual place ID
local placeId = 1818 -- Example place ID
local thumbType = Enum.ThumbnailType.AvatarBust
local thumbSize = Enum.ThumbnailSize.Size420x420

-- Fetch the thumbnail
local content, isReady = Players:GetUserThumbnailAsync(placeId, thumbType, thumbSize)

if isReady then
    print("Thumbnail URL: " .. content)
    print("Thumbnail is not ready yet.")
1 Like

J_Angry got it a few comments back with that link.
What I did: make a part that looks like a screen then drop a decal in it.
I used a part (block) size 60,60,1 (just needs to be a screen like)

--server script
local part=workspace:WaitForChild("Part")
local id=6157607666 -- your game id
local thumbnailUrl="""&width=768&height=432&format=png"

You don’t need the id break like I did here. …id…

1 Like

you are what some people call “GENIUS”

1 Like

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