Mystifine
(Mystifine)
February 24, 2020, 10:43pm
#1
I’ve done my searches on the DevForum but I haven’t been able to find a way to “load” developer product images.
I’ve tried:
"http://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId="..ProductInfo.IconImageAssetId
But I got no luck, I’ve also tried just ProductInfo.IconImageAssetId but it hasn’t worked either.
It seems that what I’ve tried above with the link only works for gamepasses.
For dev products you would use GetProductInfo() with a second argument (IconImageAssetId in your case), you can read up on it here and here for marketplace stuff in general Hope this helps.
Mystifine
(Mystifine)
February 24, 2020, 10:48pm
#3
I’ve tried:
local ProductInfo = MarketplaceService:GetProductInfo(Id, productData[1])
I’ve already retrieved the required data but it won’t load in a image label
local ProductInfo = MarketplaceService:GetProductInfo(Id)
print(ProductInfo.IconImageAssetId)
It would be like this
Mystifine
(Mystifine)
February 24, 2020, 10:49pm
#5
It prints, but it won’t load inside a image label (It’s invisible)
EDIT: I’m setting ImageLabel.Image = Id
Let me try this out in studio. Are you doing rbxassetid://"ID HERE"
?
1 Like
Mystifine
(Mystifine)
February 24, 2020, 10:50pm
#7
I haven’t tried with rbxasasetid://
, but I’ll try with it