Zurb Foundation Interchange not working, 'nodeName' undefined
I'm trying to use interchange to change images based on the screen size. However, when interchange is initialised no images load. Then when I resize the browser (1024px and lower) I get an error in the console saying: Uncaught TypeError: Cannot read property 'nodeName' of undefined Which relates to line 47 of foundation.interchange.js, which is: if (/IMG/.test(el[0].nodeName)) { The code I'm trying to use is: <img data-interchange="[http://www.example.com/image.png, (default)], [http://www.exmaple.com/image-large.png, (large)]" /> This is completely standard as per Zurb's documentation. I've