error($q,404, "Failed to open cached image $cache_location");
my $m = File::LibMagic->new() or
error($q,500,'Unable to create File::LibMagic object');
error($q,404, "Failed to open cached image $cache_location");
my $m = File::LibMagic->new() or
error($q,500,'Unable to create File::LibMagic object');