From f4b90914218210244a0e85b45eaa0890bc897717 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 11 Jun 2023 18:07:08 +0100 Subject: [PATCH] mason/dhandler (.contact): Strip out the multiple-size machinery. Also, use the same size consistently throughout. --- mason/dhandler | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) 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}) { % } + % } %
-- 2.11.0