I’m using this icon as a placeholder for my gamepass. After uploading the gamepass the thumbnail icon will turn into a circle icon.
As you can see right here. How do I get the original thumbnail icon?
What I want the icon to look like:
But this is what I’m getting:
script:
function ToggleShopCategory(Category)
Shop.Boxes.Visible = false
Shop.Tokens.Visible = false
Shop.Gamepass.Visible = false
Shop[Category].Visible = true
if Category == "Gamepass" then
for _, Button in pairs(Shop.Gamepass.Gamepasses.ScrollingFrame:GetChildren()) do
if Button:IsA("GuiButton") and Button.Name ~= "Template" then
Button:Destroy()
end
end
local Success, Response = RF:InvokeServer("GetGamepasses")
if not Success then return end
for _, Gamepass in ipairs(Response.data) do
local Template = Shop.Gamepass.Gamepasses.ScrollingFrame.Template:Clone()
local Success, ProductInfo = pcall(function()
return MarketPlaceService:GetProductInfo(Gamepass.id, Enum.InfoType.GamePass)
end)
if not Success then continue end
Template.Name = ProductInfo.Name
Template.Gamepass.Text = ProductInfo.Name
Template.Icon.Image = "rbxassetid://" .. ProductInfo.IconImageAssetId
Template.Price.Robux.Text = "R$ "..ProductInfo.PriceInRobux
Template.Description.Text = ProductInfo.Description
Template.Visible = true
Template.Parent = Shop.Gamepass.Gamepasses.ScrollingFrame
end
end
end
I also tried
"rbxthumb://type=GamePass&id=" ..Gamepass.id.."&w=150&h=150"
Is it even possible to get the square version of the thumbnail?