summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-11 10:14:30 +0300
committerPaul Buetow <paul@buetow.org>2026-06-11 10:14:30 +0300
commit0aa58bf31f37eab93a2810d38874fbb0c01f6493 (patch)
tree24fedf2c426dad06432de233ed1468275bd62adb /share
parent1b1e3a0a6dc09b9729370db6547b399c43fe8f67 (diff)
Add EXIF tooltip to details view
Diffstat (limited to 'share')
-rw-r--r--share/templates/default/details.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/share/templates/default/details.tmpl b/share/templates/default/details.tmpl
index 90256b7..be2c47d 100644
--- a/share/templates/default/details.tmpl
+++ b/share/templates/default/details.tmpl
@@ -1,9 +1,15 @@
+if [ -n "$render_exif_tooltip_html" ]; then
+ render_exif_tooltip_attr=" title=\"$render_exif_tooltip_html\""
+else
+ render_exif_tooltip_attr=''
+fi
+
cat <<END
<div class='view'>
<div class="details-layout">
<div class="details-photo-column">
<a class="details-photo-link" href="${render_page_num_html}-${render_preview_num_html}.html">
- <img class='view details-photo ${render_animation_class_html}' border='0' src='${render_backhref_html}/${render_photos_dir_html}/${render_photo_html}' />
+ <img class='view details-photo ${render_animation_class_html}' border='0' src='${render_backhref_html}/${render_photos_dir_html}/${render_photo_html}'${render_exif_tooltip_attr} />
</a>
<div class="navigator details-navigator">
<a href="${render_page_num_html}-${render_view_prev_html}.html" class="arrow">&lArr;</a>