I am trying to make image gui but the image label show corectly image in studio but show only backgroung in game
Mind to provide more information? Like the properties of your image label, the asset URL and scripts if you have one.
its just staticly set from properity box because i just need to control enabled only and the images id are(none i tried work) rbxassetid://3712403653 and rbxassetid://3712137052
It can be also probelm that the place is friends but game and images are my. if yes tell me how to solve it
Try to do this:
Open toolbox in studio.
Find your image.
Right click on it and click copy asset id.
Use the id you got from copying instead of the ones youâre using.
instead what sry but my english is very bad
and skills with images too xCâŚ
Maybe you should seek help in the international category.
My language is so rare that i will be happy if comeone answer after 1 year
But i mainly dont understand because i use id from game explorer
The vanity id of decal is not functional. You get a decalâs vanity id by copying the id from the link of the decal. I got to go tho, good luck developing!
the id from tool box is identical to the from game explorer and dont work and only image that work is the image when it isnt eny image selected
Iâm not an expert in GUIs but I do know youâll need something like this.
Try doing the below in âgame.StarterGuiâ.
Do you get any error in console (F9) once you join in game?
oh yes
Image (url) failed to load
same: in studio without problem and in game no
and in studio also without error
Can you explain better,maybe because when your in studio making your uis you should close all the tabs to see how the ui looks in a real game
only i see the image is too high so the text in image is croped at half, but nothing as the load error or only backgroung
Try to use a Local Script and add this âpreload scriptâ in image label
local ContentProvider = game:GetService(âContentProviderâ)
local logoId = ârbxassetid://658743164â --change this to your image ID
local decal = script.Parent
decal.Image = logoId
local assets = {decal}
ContentProvider:PreloadAsync(assets)