updated getImage