adds support for image/jpg content type

It's not actually a real content type, but it is sometimes used instead
of image/jpeg anyway.