Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Convert an image to webp
<!-- Original Image -->
<img src="https://images.imghaste.com/wp-content/uploads/2020/03/webp.caniuse.2020-03-08.jpg" class="img-fluid rounded-top" alt="What is WebP and Why You Should Care about it?" lading="lazy">
<!-- Webp as querystring -->
<img src="https://images.imghaste.com/wp-content/uploads/2020/03/webp.caniuse.2020-03-08.jpg?webp" class="img-fluid rounded-top" alt="What is WebP and Why You Should Care about it?" lading="lazy">
<!-- Webp using System Presets -->
<img src="https://images.imghaste.com/webp=true/wp-content/uploads/2020/03/webp.caniuse.2020-03-08.jpg" class="img-fluid rounded-top" alt="What is WebP and Why You Should Care about it?" lading="lazy">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.