Set GD to ignore invalid JPEGs