⚠️ This site is under development, some artefacts may be missing or incomplete.
PIXEL UI
GetImgur

GetImgur

PIXEL.GetImgur( string id, function callback, nil unused, string materialSettings )

Description

Downloads an image from Imgur with the given ID and passes a material with the provided flags (opens in a new tab) to the callback function.

Arguments

string id

The ID of the Imgur image.

function callback

The callback to pass the downloaded image material to.

nil unused

Deprecated function parameter.

string materialSettings

The material flags to use.