feat(images): JPEG XL optimizer with webp/jpg fallback and <picture> serving

img_optimize() decodes .jxl with djxl or Imagick, resizes with GD, re-encodes
with cjxl and writes foto.jxl.webp beside it; skips cleanly without a decoder.
Gallery, hero, navbar logos and JSON-LD serve the JXL with the fallback, and
trash/removal move the fallback with its .jxl.
This commit is contained in:
andre committed 2026-10-26 11:18:13 +00:00
1 parent 8fe73eb5d6
commit 4f44bc1609
14 files changed
+260 -20

No files matched your search

+2
View File
@@ -4456,6 +4456,8 @@ h3.contact-title {
cursor: zoom-in;
}
/* .jxl images are <picture> (img_tag): let the <img> size against its parent as before. */
.gal-link picture, .navbar-brand picture, .gym-switch-btn picture { display: contents; }
.gal-link img {
width: 100%;
height: 100%;