Putting a model's image as a image label's image

heyy! I’m currently wondering how to set an image label’s image as a model’s image.

ImageLabel.Image = "rbxthumb://type=Asset&id=0&w=420&h=420

Change id=0 to the relevant asset ID.

There are multiple meshes in the model, though.

You just use the model’s ID.

4572305378

This would display the thumbnail of a McDonald’s model.

Do you know how I can get the model ID?

https://www.roblox.com/library/4572305378/

Yeah, you can find it in its library url.

Ah, so I have to make it a model first? I mean like using in-game grouped models

Technically no, I thought you were asking about on-site models, not in-game models.

You can use viewport frames to display models on a UI.

Here’s an article regarding viewport frames.

1 Like