From e75610c7974b575ce1f9af9b4577b83e02db1241 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Tue, 19 Jun 2018 12:49:10 +1000 Subject: [PATCH] * LDV::Filebin->save : fix mistype --- lib/LDV/Filebin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/LDV/Filebin.pm b/lib/LDV/Filebin.pm index 7eb5742..4bf8cdf 100644 --- a/lib/LDV/Filebin.pm +++ b/lib/LDV/Filebin.pm @@ -103,7 +103,7 @@ sub save { # make thumb my ($th_w, $th_h) = ($conf->{thumbs_size} =~ m/(\d+)x(\d+)/oi); my $thumb = $image->scale(xpixels => $th_w, ypixels => $th_h, type => 'min'); - my $path = $self->_file_path("${time}_th", $conf->{thumbs_ext}, 'fullpath'); + my $path = $self->_file_path("${time}_tn", $conf->{thumbs_ext}, 'fullpath'); $thumb->write(file => $path) or die $thumb->errstr; } elsif ($file->{fmime} =~ m{^video/}o) {