added width and height to image object for convenience