]> Git — Sourcephile - julm/camera.git/commitdiff
index: support AVIF as input main
authorJulien Moutinho <julm@sourcephile.fr>
Wed, 8 Jan 2025 21:27:31 +0000 (22:27 +0100)
committerJulien Moutinho <julm@sourcephile.fr>
Wed, 8 Jan 2025 21:27:31 +0000 (22:27 +0100)
index.sh

index 5ad5316d91e19ec2225d03a51e5a44dbd14b909e..96a54fd9bf3003e39bd88547349fbb4e508076df 100755 (executable)
--- a/index.sh
+++ b/index.sh
@@ -121,7 +121,7 @@ EOF
     }
     unset dst
     case "$src" in
-      *.jpg|*.JPG)
+      *.jpg|*.JPG|*.avif)
         echo "<li id='$id' class='$wow'><div class='item'>"
         echo "<picture>"
           printf "<source type='image/avif' srcset='"