[].forEach.call( document.querySelectorAll('img.PinImageImg'), function fn(elem){ console.log(elem.src); });