Not working with this jpg (image is correct, not corrupted, but script give me a 505 internal server error)

how can i skip this error?

More...