Comments (3)
I still get undefined errors when using the alt attribute, because you've changed what it looks for to the title attribute. That alone might throw some people off, but it doesn't work as is anyway...
from jquery-picture.
This is because alt isn't a valid attribute for a figure tag. I'm looking at a demo of a figure with and without the title tag. In the figure with an alt is added to the img. In the figure without it adds nothing.
from jquery-picture.
Ahh - I was adding the alt attribute to the img within the noscript tag - that's where I'd expect it to pull it from, since it's adding it back to the final image tag...
from jquery-picture.
Related Issues (19)
- Doesn't support IE8 and under HOT 1
- Images added in wrong place HOT 1
- Android HOT 4
- IE 8, IE 9: <picture> not working HOT 4
- Add width/height attributes to generated <img> HOT 2
- Replace <noscript> tag, rather than appending image HOT 3
- Safari Mobile on iPhone 5 not acting as expected HOT 1
- Mobile Devices showing next size up HOT 2
- not working in IE8 HOT 7
- no support for "picture" in IE9 HOT 7
- PixelRatio problem HOT 1
- Error with the new tag Picture
- Didn't see an Image in Firefox 37.0.2 / OSX & Win) HOT 1
- Link to images ? HOT 5
- Lazy Load for images? HOT 3
- Retina Support HOT 3
- Break point higher than 999px
- Add class to image HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-picture.