Refactored to only set the requested width one time.
Refactored to only set the requested width one time.

alanwsmith/doc-write-image-loader,alanwsmith/document.write-image-loader,alanwsmith/doc-write-image-loader,alanwsmith/doc-write-image-loader,alanwsmith/document.write-image-loader