Set GD to ignore invalid JPEGs
Merge pull request #64 from vlad-ghita/patch-2

Set GD to ignore invalid JPEGs