about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-22 18:31:56 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-22 18:31:56 +0100
commit27cbae928a2b29adccf9989bcf69914693fdcbe2 (patch)
tree0d2dc175eb05430dd0118cb94ec100fe5c432af1
parent2bb7413dd855930167ae53dc87fc9067ea7ad314 (diff)
downloadgalier-27cbae928a2b29adccf9989bcf69914693fdcbe2.tar.gz
galier-27cbae928a2b29adccf9989bcf69914693fdcbe2.zip
Add alt containing image filename
-rwxr-xr-xgal2
1 files changed, 1 insertions, 1 deletions
diff --git a/gal b/gal
index aa60b50..3ceaa13 100755
--- a/gal
+++ b/gal
@@ -39,7 +39,7 @@ for f in $PHOTOS/*.{jpg,JPG,jpeg,JPEG,png,PNG}; do
   [ -f $f ] && cat >> $OUTPUT/index.html <<EOF
       <div class="tile">
         <a href="photos/$filename">
-          <img src="thumbs/$filename" />
+          <img src="thumbs/$filename" alt="$filename" />
         </a>
       </div>
 EOF