layout: Store image dimensions inside image boxes instead of going to

the DOM for them.

r? @kmcallister