In all browsers except IE (and we want to fix an issue in Chrome here), `img.src` returns the fully qualified url that was used for the server request, whereas `img.getAttribute('src')` returns the url as it was set by the application.