How do I get images to load properly?

  1. What do you want to achieve? Keep it simple and clear!
    I want to fix images not loading in properly if possible
  2. What is the issue? Include screenshots / videos if possible!
    When i use GetUserThumbnailAsync, a lot of the images are blank
    image

I’ve tried using imageLabel.IsLoaded:Wait() but it just doesnt load anymore if i do that

1 Like

Can you share the code that uses GetUserThumbnailAsync?

1 Like

Sorry for the late reply, this is the code I’m currently using:

Sometimes, most images load while other times, only a few load properly.

1 Like

I haven’t done lots of testing by any means, but I also didn’t have any problems loading lots of thumbnails in my testing.
I think it might perhaps have to do with the fact you’re using pcall, which is usually a good idea but the getthumbnail function actually does wonders by checking if isReady is true instead of success from pcall. So I’d recommend testing if it works by doing it the same way as the docs have done it since they don’t use pcall there

1 Like

Thanks for the help! I believe the cause of the missing data might have been me being friends with people who had their account banned or deleted.

1 Like