Add image dimensions.