Koolkp5
(Kavi)
January 20, 2023, 9:51pm
#1
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"
KJry_s
(Realism)
January 20, 2023, 9:59pm
#2
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
system
(system)
Closed
February 3, 2023, 9:59pm
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.