Dynamically apply image URLs in image instance

Hi,

I want to dynamically insert an image URL into an ImageLabels Image property, however I think I’m doing it wrong and can’t find a solution online.
What I’m trying to achieve:
https://gyazo.com/a5c87d13bf435939308ad057381a74b1

What I get:
(image is actually visible, just not showing)
https://gyazo.com/f0d48a1e0dc40c84a4948eabf9bb9de0

I’ve uploaded a bunch of differently rotated exit buttons to the website:
image

code:

local ID_TEXT = "rbxassetid://ID_NUM"
local ALL_TRASH_ICONS = {"15688769371", "15688770108", "15688770559", "15688770998", "15688771550", "15688772059", "15688772789"} -- ids
... -- other code omitted for brevity
itemTrashIcon.Image = ID_TEXT:gsub("ID_NUM", ALL_TRASH_ICONS[math.random(1, #ALL_TRASH_ICONS)])

The image url updates as expected when clicking the button, it’s just the image doesn’t render.
P.S. The reason why I’m using 7 different images instead of rotating 1 image is because ScrollingFrame doesn’t clip rotated descendants.

Any help would be great thanks!

Why not just add the rbxassetid:// to the IDs in the table and pick a random index from the table?

So the table didn’t look too long lol

Tried your suggestion though and I’m still getting the issue

Does the output give you any errors?

Nope
No errors and the url updates
https://gyazo.com/92c3894170067b3f5db92063b840368a