Overview
unlazy provides a number of methods to help you with lazy loading images:
lazyLoad– Lazy load images with automatic placeholder generationautoSizes– Automatically calculate thesizesattributeloadImage– Manually load an image before it enters the viewportcreatePlaceholderFromHash– Generate PNG data URI from BlurHash or ThumbHash- BlurHash
createPngDataUri– Generate PNG data URI for SSR - ThumbHash
createPngDataUri– Generate PNG data URI for SSR