In Get the real width and height of an image with JavaScript? (in Safari/Chrome), a claimed clever solution is made on how to figure out the actual size of an image.
var t = new Image();
t.src = (img_element.getAttribute ? img_element.getAttribute("src") : false) || img_element.src;
I'm trying to figure out what the second row does. I know the source that I want to use and thus simply declared it. This did not result in any other attributes, such as t.width.