Fetches the image at the specified input URL and returns a promise of an HTML image element.
If init is specified, sets any additional properties on the image before loading.
A valid URL string.
Optional
An optional object of image properties to set.
Fetches the image at the specified input URL and returns a promise of an HTML image element.
If init is specified, sets any additional properties on the image before loading.