add image dimensions