summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog1
-rwxr-xr-xlib/App/Dthumb.pm4
2 files changed, 3 insertions, 2 deletions
diff --git a/Changelog b/Changelog
index b34d321..a80e9c0 100644
--- a/Changelog
+++ b/Changelog
@@ -2,6 +2,7 @@ git HEAD
* Add progressbar, introduces new dependency Time::Progress
* Switch from lightbox to shadowbox <http://www.shadowbox-js.com/>
+ * Show filename in lightbox
dthumb 0.1 - Sun Feb 27 2011
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,
);