How to get the Image ID of an Avatar Background in a Local Script?

Roblox released Avatar Backgrounds, Example Moonlight Meadow - Roblox, and they are currently labeled as Enum.AvatarAssetType.AvatarBackground. However how can I get the actual Image ID that’s used via a Local Script?

I’ve tried both MarketplaceService:GetProductInfoAsync(ID, Enum.InfoType.Asset) and AvatarEditorService:GetItemDetailsAsync(ID, Enum.AvatarItemType.Asset), but neither get me the Image ID that’s used inside: 76744237314941.

I know I can get the Image ID inside via AssetService:LoadAssetAsync(ID).Parent = workspace and retrieving the Image ID there, but I’d like everything to be used inside a Local Script when querying for Catalog Items

2 Likes

Where will you use that? If your answer is ImageLabel, you can use it like rbxthumb://type=Asset&id=95681420685521&w=420&h=420 URL type.

This create a very low quality image of what it looks like in the Marketplace, not the actual asset Image that’s used on a Player’s Profile

You can go up to &w=768&h=768 resolution with the option FunnyBlue offered. Otherwise there is no client-side only solution.

You simply need to have the server to utilize InsertService and send the ImageID back to client via RemoteEvent/RemoteFunction.

1 Like