Game icon not loading

Hello Developers,

I ran into a problem when getting a game icon. Let me explain, I want to load a game icon from a ID but the image isn’t loading. I’ve tried searching for posts but non of them worked.

Heres my code

(Yes theres more to the script but it doesnt matter to this post)

Local Script
Image.Image = "https://thumbnails.roblox.com/v1/games/icons?universeIds="..MarketplaceService:GetProductInfo(ChildValueNumber).IconImageAssetId.."&size=150x150&format=Png&isCircular=false"

Well because you are doing it quite wrong, you cannot fetch the thumbnails from the roblox site. That is instead used for off-site use.

local MarketplaceService = game:GetService('MarketplaceService')
print(MarketplaceService:GetProductInfo(game.PlaceId).IconImageAssetId)

Test it with the game.PlaceId and the game.GameId.

1 Like

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