Skip to content
AstroPaper
Go back

Cloudinary JXL demo

Edit page

This image is delivered entirely by Cloudinary. The <picture> element below offers JXL, AVIF, and WebP sources, with a WebP <img> as the floor. No JPEG fallback. Sharp is not invoked.

Demo image served from Cloudinary in JXL, AVIF, and WebP.

Verify in the browser

After pnpm build && pnpm preview, open the post and run:

document.querySelector("picture img")?.currentSrc;

Expected substrings by browser:

You should never see f_jpg — there is no JPEG source.

Demo image served from Cloudinary in JXL, AVIF, and WebP.

Edit page
Share this post:

Previous Post
The future is now
Next Post
AstroPaper 6.0