X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=mkgallery.pl;h=822cd49845d1f900e40ef0c54d0911df1cdfc936;hb=209d7c5f7d7f94d9d8e95ac3ad58f4f135071f91;hp=5927e144567130db3092ed6ff3d9f5ea600465f3;hpb=90465ce5a5ce8f71d841be42776c4ae1e63d21fe;p=mkgallery.git diff --git a/mkgallery.pl b/mkgallery.pl index 5927e14..822cd49 100755 --- a/mkgallery.pl +++ b/mkgallery.pl @@ -440,6 +440,8 @@ sub makeaux { sub startindex { my $self = shift; my $fn = $self->{-fullpath}.'/index.html'; + my $block = $self->{-fullpath}.'/.noindex'; + $fn = '/dev/null' if ( -f $block ); my $IND; unless (open($IND,'>'.$fn)) { warn "cannot open $fn: $!"; @@ -529,13 +531,13 @@ sub img_entry { end_div,"\n"; print $IND table({-class=>'slide'},Tr(td( - a({-href=>".html/$name-info.html", + a({-href=>".html/$name-info.html",-title=>'Image Info', -onClick=>"return showIbox('$name');"},$title), br, a({-href=>$medium,-rel=>"lightbox",-title=>$title}, img({-src=>$thumb})), br, - a({-href=>$name},"($w x $h)"), + a({-href=>$name,-title=>'Original Image'},"($w x $h)"), br))),"\n"; }