I want to display the Icon of a Dev Product and need the Asset ID to do so. How do i get the Asset ID?
1 | local productID = 1 |
2 | local productInfo = MarketplaceService:GetProductInfo(productID, Enum.InfoType.Product) |
3 | local icon = productInfo.IconImageAssetId |
Use something like that. As I do not know exactly what you are doing, this is pretty generalized. "icon" would be the image id. You may use "http://roblox.com/asset/?id="..icon
(https://developer.roblox.com/en-us/api-reference/function/MarketplaceService/GetProductInfo)
Extra: If you would like so download it, once you get the Asset ID paste it behind this "http://roblox.com/asset/?id=" and enter it into your search bar!