Transform your images to modern formats during the build process.
Installation
Usage
To convert image you need add data-weblands:image
attribute to <img />
tag.
During build process <img />
tag will be transformed to <picture>
with formats from plugin options.
To prevent image loading on mobile you need to add data-weblands:image-mobile-hidden
attribute to <img />
tag.
During build process <img />
tag will be transformed to <picture>
with formats and gif placeholder for mobile breakpoint from plugin options.