diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-02-28 18:53:33 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-02-28 18:53:33 +0100 |
commit | 385e33fe4132f18798242edfa961d9ec800971cd (patch) | |
tree | 119c5e6b8d2b28dec2a3edc877d1ae34e31ab05f /lib/App | |
parent | 37a7b741692997d8cf7ecc371dc5c829a388067d (diff) |
Show filename as lightbox title
Diffstat (limited to 'lib/App')
-rwxr-xr-x | lib/App/Dthumb.pm | 4 |
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, ); |