summaryrefslogtreecommitdiff
path: root/src/lib/stats-filter-album.source.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/stats-filter-album.source.sh')
-rw-r--r--src/lib/stats-filter-album.source.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/stats-filter-album.source.sh b/src/lib/stats-filter-album.source.sh
index 3f55342..49eb390 100644
--- a/src/lib/stats-filter-album.source.sh
+++ b/src/lib/stats-filter-album.source.sh
@@ -53,9 +53,9 @@ _stats_filter_thumbnail() {
animation_class=$(random_animation_css_class slow "$photo")
# The view page sits in the same directory as this gallery, so link to it by
# bare index; the thumbnail image lives at the album root via backhref.
- printf ' <a name="%s" href="%d.html">' "$photo_html" "$index"
- printf '<img class="thumb %s" src="%s/%s/%s" /></a>\n' \
- "$animation_class" "$backhref_html" "$STATS_THUMBS_DIR" "$photo_html"
+ printf ' <a id="%s" href="%d.html">' "$photo_html" "$index"
+ printf '<img class="thumb %s" alt="%s" src="%s/%s/%s"></a>\n' \
+ "$animation_class" "$photo_html" "$backhref_html" "$STATS_THUMBS_DIR" "$photo_html"
}
# Build the full thumbnail grid for one filter from its newline-separated photo