Now as you can see the actual image is not in the image tag, but in a data attribute, and the problem with this is two things…
1. No JS fallback
2. No actual images in markup (the images for this blog get a lot of traffic in google, so this would be a big problem as there would be no images for google to index).
My solution would be to have an additional (noscript) tag with the full path to the images like so…
So while this would solve the JS fallback issue, do you think having important content (images) in noscript tags is safe? Would it still be indexed by google, appear in google images, etc?
Or is it too much of a sacrifice to have images lazy loading?
Would love to hear some thoughts on this. Thanks in advance.
Author
Posts
Viewing 1 post (of 1 total)
The forum ‘JavaScript’ is closed to new topics and replies.