created client-side version of the image object.