laziestloader
laziestloader copied to clipboard
LaziestLoader is a responsive and retina-aware lazy loader for jQuery
Hi @sjwilliams -- we (at @bizweekgraphics) have a fork of laziestloader without jQuery. Would you be interested to have a look? https://github.com/bizweekgraphics/slothy-loader/blob/master/slothy-loader.js
Probably while considering our [sans-jQuery fork](https://github.com/bizweekgraphics/slothy-loader), also to consider @3x support (which is also another one of the fork's features), per this: https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/ iOS “Plus” devices and many [high-end Android...
If laziestloader is given slug-based widths, it incorrectly assumes that they're presorted from smallest to largest. So an example like this will fail to pick the correct rendition: ``` html...
Normally I use this plugin in responsive layouts were images or other lazy loaded elements have rules that make them block elements and inherit a width from their parent: ```...
Currently, on resize, the plugin will check if there's a better sized image for an already-loaded one and use it, even if that image is smaller. Given that the browser...