"Insert Image" should automatically detect the dimensions of the image

Just a nitpick, but "Insert image" should automatically detect the height and width of an image.

Right now you have to manually adjust the "dimensions" yourself: