Adds empty string checking beside undefined object checking for image element attributes.
Coincidentally resolves #48
Rather than opting to alter the actual conditional flow, I instead added a second conditional statement to be passed, as it creates new behavior.
Adds empty string checking beside undefined object checking for image element attributes. Coincidentally resolves #48 Rather than opting to alter the actual conditional flow, I instead added a second conditional statement to be passed, as it creates new behavior.