Files
jcoffey-dev 7c26d6de9b Pictures: transparent WebP stays WebP; picture for templates
A WebP with transparency (a product photographed on nothing, as print
shops supply them) was turned into a lossless PNG, often ten times the
size and slow to make. It now stays WebP, lossy with its transparency,
at each size; an opaque WebP still becomes JPEG. The media index takes a
picture whose only file is a WebP.

Templates get what Markdown pictures had: picture "/media/x.webp" "alt"
"sizes" "class=x loading=lazy" writes the <img> with its width, height
and every published size, and pictureAt "/media/x.webp" 160 is the
address of the smallest size at least that wide.
2026-10-16 15:47:50 -07:00
..