Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Preloading Avatar Thumbnail Isn't Working??

Asked by
c0des 207 Moderation Voter
7 years ago

So I preload the avatar 'headshot' thumbnail and yet when I set it as the Image on an ImageLabel, I still end up getting the grey N/A image.

Anyone know what I'm doing wrong? And yes, the ContentProvider's RequestQueueSize is zero by the time I set the image.

ContentProvider:Preload("https://www.roblox.com/headshot-thumbnail/image?userId=" .. Player.UserId .. "&width=100&height=100&format=png")

Answer this question