After you insert an image in Page view, the editor displays the dimensions of the image in the Properties dialog box. However, these are default values and are not automatically included in the HTML source.
If you resize the image or explicitly set different values, the HEIGHT and WIDTH attributes and their values will be included. Use the following steps if you want the default values included in the HTML source.
To have HEIGHT and WIDTH attributes added to the HTML source:
In Page view, right-click the image and select Properties from the pop-up menu.
On the Layout tab, change the Height and Width values, or retype them, and click Apply.
Source view will now show HEIGHT and WIDTH in the IMG element.