Serve images in next-gen formats

Updates |

Serve images in next-gen formats, also known as modern image formats, are designed to provide better compression and quality than older image formats such as JPEG and PNG. The most popular next-gen image formats are WebP, AVIF, and JPEG-XL.

You can follow these steps:

  1. Convert your images to next-gen formats: Use image processing software such as Adobe Photoshop or online tools such as to convert your images to WebP, AVIF, or JPEG-XL formats.
  2. Use responsive images: Use the HTML element to serve different image formats to different devices, based on their capabilities. For example, you can serve WebP to devices that support it, and fall back to JPEG for devices that don’t.
  3. Use a Content Delivery Network (CDN): A CDN can automatically convert your images to next-gen formats and serve them to users. Cloudinary and Cloudflare are two popular CDNs that support next-gen image formats.
  4. Update your website’s code: Update your website’s code to ensure that it can handle next-gen image formats. For example, make sure that your website’s CSS can handle WebP images.

Leave a Reply

Your email address will not be published. Required fields are marked *