data-interchange not working on IMG tag after upgrade 5.5.3 to 6.7.4 (solved for Windows; still fails on Ubuntu 18) #12334
-
Hi. I would really appreciate an extra set of eyes on this code which I have upgraded from Zurb Foundation 5.5.3 to 6.7.4 today. The sample is one IMG tag with small, medium, large and retina JPG files. Instead of showing an image, just the alt tag text displays. Here it is failing : jsfiddle Here is the prior version just to show that it did working; it's the first image on this page : I got my foundation.min.js from the public blue download button on https://get.foundation/ a few hours ago. I did not change it in any way. As I read the docs, I do not need to do anything extra to initialize the plugin unless I want special options or event handling. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Did you verify the syntax with the docs? It changed a bit from v5 if I recall.... https://get.foundation/sites/docs/interchange.html |
Beta Was this translation helpful? Give feedback.
-
Renove the () brackets round, small, large, retina etc. Works for me like that on your fiddle |
Beta Was this translation helpful? Give feedback.
Renove the () brackets round, small, large, retina etc. Works for me like that on your fiddle