Optional load type for image, XHR is default, or HTMLImageElement for a lightweight way.
XHR
HTMLImageElement