Image

Image object

property

string src

Image URL

number width

Actual image width

number height

Actual image height

function onload

Callback function triggered after image is loaded

function onerror

Callback function triggered after image loading error occurs