chiark / gitweb /
mason/.perl-lib/TrivGal.pm (%SIZE): Modify and extend the available sizes.
[tgal] / mason / dhandler
index 49e5f847b23c0371e3252763aebd3fcc6ab72728..611567a9d9c27f1bcaaf00ae006a18353ae501a9 100755 (executable)
@@ -231,7 +231,7 @@ Failed to find &lsquo;<% $path |h %>&rsquo;.
          my $img = TrivGal::Image->new(join_paths $dir, $f->name);
          for my $sz (@thumbsz) { $tn{$f->name}{$sz} = $img->scale($sz); }
          if ($ff->[$i]->name eq "$base$ext")
-           { $fi = $i; $vw = $img->scale("view"); }
+           { $fi = $i; $vw = $img->scale("medium"); }
        }
        defined $fi or die "image not found in its folder?";
        my $this = $ff->[$fi];