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) {