summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-02-28 18:35:06 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-02-28 18:35:06 +0100
commit46cd0526adfe160984e36dcfc7af208b7ba6cd38 (patch)
treebeaf0edea9c6251078ad2d0941f08a678cec26b0 /lib
parent9bad034398563ebea573eb3b9ba359ebfe39f875 (diff)
parentab5b9d1a29654e8bcda2c32ea80be6d9f9b87938 (diff)
Merge branch 'master' of aneurysm:var/git_root/dthumb
Conflicts: bin/dthumb
Diffstat (limited to 'lib')
-rwxr-xr-xlib/App/Dthumb.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/App/Dthumb.pm b/lib/App/Dthumb.pm
index b718766..f2cf875 100755
--- a/lib/App/Dthumb.pm
+++ b/lib/App/Dthumb.pm
@@ -134,7 +134,6 @@ sub new {
$ref->{current_file_id} = 0;
$ref->{config}->{file_index} = 'index.xhtml';
- $ref->{config}->{file_lightbox} = 'lightbox.js';
$ref->{config}->{dir_thumbs} = '.thumbs';
$ref->{config}->{dir_data} = '.dthumb';
@@ -261,7 +260,8 @@ sub create_files {
mkdir($datadir);
}
- for my $file (qw(lightbox.js overlay.png loading.gif close.gif)) {
+ for my $file (qw(close.png loading.gif next.png pause.png play.png
+ previous.png shadowbox.css shadowbox.js)) {
open(my $fh, '>', "${datadir}/${file}");
print {$fh} $self->{data}->get($file);
close($fh);
@@ -334,7 +334,7 @@ sub create_thumbnail_html {
$div_height,
);
$self->{html} .= sprintf(
- "\t<a rel=\"lightbox\" href=\"%s\">\n"
+ "\t<a rel=\"shadowbox[main]\" href=\"%s\">\n"
. "\t\t<img src=\"%s/%s\" alt=\"%s\" /></a>\n",
$file,
$self->{config}->{dir_thumbs},