Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is it possible to load an httpservice image off the internet and load it onto a decal or gui image?

So today im learning about httpservice, lol

and I was messing around with it to see if i could get my youtube channels thumbnail to become a gui image through httpservice

I have a feeling this is impossible but idk

This is what I got

local HS = game:GetService"HttpService"

while wait(2) do
    local resp = HS:GetAsync("https://yt3.ggpht.com/-A3aVzD8ja9I/AAAAAAAAAAI/AAAAAAAAATc/lYEaNNBSbZc/s288-mo-c-c0xffffffff-rj-k-no/photo.jpg", true)
    script.Parent.Image = resp
end

And i know i could just manually make it a decal and put it in but if i can do this the way i mentioned then that would give a lot of possibility

1 answer

✓ Accepted answer

You are not able to upload images from the internet using HTTP service as the moderators are not able to make sure that your image is appropriate before it is displayed, this is why decals were created.

This discussion is preserved as it was. New answers, comments, and votes are closed.