#Trouble Loading UI Images

1 messages · Page 1 of 1 (latest)

hybrid leaf
#

I am having trouble loading Images from UI despite even after trying Content Provider any common problems? Nothing is erroring too and the image loads when in studio, so I have the asset

cunning bridge
#

send code too

hybrid leaf
#

my script is very large

#

oh

#

nvm.

#

In studio it shows

cunning bridge
#

I think its the image

hybrid leaf
#

looking in properties do I have to set ImageContent as well?

cunning bridge
#

I tried

local frame = script.Parent.Frame
local imagebutton = frame:WaitForChild("ImageButton")
imagebutton.Image = "rbxassetid://9094403052"

it just made the imagebutton invisible but

local frame = script.Parent.Frame
local imagebutton = frame:WaitForChild("ImageButton")
imagebutton.Image = "rbxassetid://9094403051" --changed the image id from 2 to 1 

and it works just fine, its probably just a invisible image honestly

hybrid leaf
#

The background Transparancy is 1

cunning bridge
#

yea

hybrid leaf
#

but like that shouldn't affect it I think..

frozen anchorBOT
#

studio** You are now Level 12! **studio

hybrid leaf
#

oh ok

cunning bridge
#

works just fine

#

goes invisible

#

the image id is probably just an empty image

cunning bridge
hybrid leaf
#

I got it from toolbox 💀

cunning bridge
#

yea u probably need to find ur own image

#

gl

hybrid leaf
#

oh is there a difference from asset id and texture id?

#

oh it worked.

#

sometimes?

#

oh nvm I'm an idiot it works lol