From: Mark Wooding Date: Sun, 11 Jun 2023 17:07:08 +0000 (+0100) Subject: mason/dhandler (.contact): Strip out the multiple-size machinery. X-Git-Url: https://git.distorted.org.uk/~mdw/tgal/commitdiff_plain/f4b90914218210244a0e85b45eaa0890bc897717 mason/dhandler (.contact): Strip out the multiple-size machinery. Also, use the same size consistently throughout. --- diff --git a/mason/dhandler b/mason/dhandler index 38a460d..979419d 100755 --- a/mason/dhandler +++ b/mason/dhandler @@ -83,6 +83,7 @@ Failed to find ‘<% $path |h %>’. } (my $nosl = $path) =~ s!/$!!; + my $size = "medthumb"; my %tn; for my $f (@$ff) { $tn{$f} = TrivGal::Image->new($path . $f->name); } @@ -108,28 +109,24 @@ Failed to find ‘<% $path |h %>’. % % if (@$dd) {

Subfolders

-% for my $size (qw{medthumb}) { % } + % } % % if (@$ff) {

Images

-% for my $size (qw{medthumb}) { % } + % } %