xxxxxxxxxx
Extension Kind of document MIME Type
.png Portable Network Graphics image/png
xxxxxxxxxx
No, image/jpg is not the same as image/jpeg.
You should use image/jpeg. Only image/jpeg is recognised
as the actual mime type for JPEG files.
xxxxxxxxxx
The following image types are used commonly enough to be considered safe for use on web pages:
image/apng: Animated Portable Network Graphics (APNG)
image/avif : AV1 Image File Format (AVIF)
image/gif: Graphics Interchange Format (GIF)
image/jpeg: Joint Photographic Expert Group image (JPEG)
image/png: Portable Network Graphics (PNG)
image/svg+xml: Scalable Vector Graphics (SVG)
image/webp: Web Picture format (WEBP)