Get Group Icon?

So I know there’s a way to get a user’s profile thumbnail with:

local username = 'bleh'
'http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username='..username

But is there a way to get a group icon?

I originally tried reuploading it as a decal, but it was deleted (even though it’s literally the same image I used for the group and I own both). So is there a way I can just get the group icon instead of uploading a decal?

Thanks

3 Likes

Be sure to search before making threads.

GroupService:GetGroupInfoAsync

EmblemUrl is the thing you’d want to use.

Code Example:

local groupService = game:GetService("GroupService")

function getGroupIcon(id)
   return groupService:GetGroupInfoAsync(id).EmblemUrl
end

print(getGroupIcon(5237948)) --> Output: http://www.roblox.com/asset/?id=4197840368
11 Likes

Oh, once again I missed something. I was looking on that page earlier, but I was looking for member count and didn’t really look at the rest. Thank you

1 Like

is there a way to get a previous group icon?

I don’t believe there is. As far as I’m aware, we don’t even have version history for anything other than group games, those linked model bundle things, and scripts (if enabled).