summaryrefslogtreecommitdiff
path: root/lib/App
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-02-28 18:53:33 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-02-28 18:53:33 +0100
commit385e33fe4132f18798242edfa961d9ec800971cd (patch)
tree119c5e6b8d2b28dec2a3edc877d1ae34e31ab05f /lib/App
parent37a7b741692997d8cf7ecc371dc5c829a388067d (diff)
Show filename as lightbox title
Diffstat (limited to 'lib/App')
-rwxr-xr-xlib/App/Dthumb.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/Dthumb.pm b/lib/App/Dthumb.pm
index bb5a4ce..952eaaa 100755
--- a/lib/App/Dthumb.pm
+++ b/lib/App/Dthumb.pm
@@ -293,9 +293,9 @@ sub create_thumbnail_html {
$div_height,
);
$self->{html} .= sprintf(
- "\t<a rel=\"shadowbox[main]\" href=\"%s\">\n"
+ "\t<a rel=\"shadowbox[main]\" href=\"%s\" title=\"%s\">\n"
. "\t\t<img src=\"%s/%s\" alt=\"%s\" /></a>\n",
- $file,
+ ($file) x 2,
$self->{config}->{dir_thumbs},
($file) x 2,
);