Skip to content

14.9.2

Choose a tag to compare

@wazum wazum released this 14 Oct 13:03
· 21 commits to master since this release

Fixes empty siblings from failed conversions, which the webserver served to WebP-capable browsers as a blank image.

Fixed

  • A conversion that leaves an empty file behind — typically ImageMagick/GraphicsMagick killed by a process or memory limit under load — is no longer published as a sibling; the webserver handed WebP-capable browsers an empty image/webp response, so the image was missing on the page. The failure is logged as an error, including the ImageMagick/GraphicsMagick output, and retried on the next render, not recorded as a failed attempt (#122).
  • Folder mode (webp:process-queue --folder) treats an empty sibling as missing and converts the image again.
  • The Apache rules in the README and from webp:webserver-config check for a non-empty sibling (-s) instead of any sibling (-f).
  • The Compression results field on file metadata shows its label; it rendered as a bare table with no field title.

On upgrade: siblings that earlier versions already published empty stay in place until they are deleted; the next render then regenerates them. On local storages: find public/fileadmin \( -name '*.webp' -o -name '*.avif' -o -name '*.jxl' \) -size 0 -delete. On Apache, change -f to -s in your existing rewrite conditions — the new rules are not applied to configurations you already have.

Full changelog: 14.9.1...14.9.2