need to set the size so that the Image object is created