Corrected error messages regarding width and height for the image element