From f86b788e3b5d1c08786e235a4be9a9cddd97207d Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Wed, 3 Feb 2010 13:07:32 -0500 Subject: [PATCH] Bugfix: Upping the byte size limit of patron images This brings it more in line with the size limit placed on other images uploaded for use on patron cards. Signed-off-by: Galen Charlton --- tools/picture-upload.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/picture-upload.pl b/tools/picture-upload.pl index a28f259001..c3f7b00e05 100755 --- a/tools/picture-upload.pl +++ b/tools/picture-upload.pl @@ -210,7 +210,7 @@ sub handle_file { } $debug and warn "Source: $source"; my $size = (stat($source))[7]; - if ($size > 200000) { # This check is necessary even with image resizing to avoid possible security/performance issues... + if ($size > 550000) { # This check is necessary even with image resizing to avoid possible security/performance issues... $filerrors{'OVRSIZ'} = 1; push my @filerrors, \%filerrors; push @{ $count{filenames} }, { filerrors => \@filerrors, source => $filename, cardnumber => $cardnumber }; -- 2.39.2