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 <gmcharlt@gmail.com>
}
$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 };