Don't log image requests.

It will quickly get out of control and will add a lot of noise to the
logs.
Performance: Use indexOf instead of regex