News for hackers. Stuff that matters.
Re:Show HN: Gandul – accessible image lazy loading by lpghatguy on Wednesday April 17, 2019 @06:03PM (#19686867)
Rendering an anchor in the place of an image in case I don't have JavaScript enabled doesn't feel very good.

I'd much rather have image solutions that fail gracefully if the JS on my page is broken or the user just has it disabled.

Re:Show HN: Gandul – accessible image lazy loading by duhi88 on Wednesday April 17, 2019 @06:45PM (#19687088)
Why not? I think it is a fair replacement for a lot of image use-cases. If JS is turned off, users still have the ability to view the image and description, without the image hurting your total page weight.
Re:Show HN: Gandul – accessible image lazy loading by keanebean86 on Wednesday April 17, 2019 @11:20PM (#19688456)
Have a style sheet at the bottom of the page below some js. The js sets up lazy loading and changes all the image div id/classes so the style sheet does nothing. The style sheet sets the image divs backgrounds to your images otherwise. That should still work without js. Although it's a mess to work with...
Re:Show HN: Gandul – accessible image lazy loading by bastawhiz on Wednesday April 17, 2019 @06:32PM (#19687018)
It would be nice if they supported an anchor with a noscript tag inside containing the image