add image width and height