Why are my uploaded JPEG images being converted to JPG on the CDN?

I am creating JPEG images and i’m uploading them as JPEG images but they are being converted on the CDN on upload as JPG.

I am referring to this documentation > https://help.shopify.com/en/manual/online-store/images/theme-images#image-formats which says JPEG is supported. Has something changed recently and why has the documentation not been updated if potentially millions of people are viewing it.

I understand there were changes with progressive JPG’s and WEBP but was the above also some form of change?

Thanks,

Glen

Hi @glenwheeler

Hope you’re having a great day!

There are actually no differences between the JPG and JPEG formats. The only difference is the number of characters used. JPG only exists because in earlier versions of Windows (MS-DOS 8.3 and FAT-16 file systems) they required a three-letter extension for the file names. So .jpeg was shortened to .jpg

While Windows and or DOS had this limitation, UNIX did not and so UNIX and MAC users continued to use the .jpeg extension.

Newer versions of Windows of course now accept more characters in their file extension, however, .jpg was already being used by a majority of people (and programs needed to work with MS-DOS 8.3) and so it still is the most common extension.

If you have any further questions, please do reach out either here on the forum, or via private message/email.

Sorry, i’m not asking the difference between JPEG and JPG.

I am asking the above question because we have specific functionality in one of our stores that no longer works. See attached.

When we used to upload JPEG images they remained as a JPEG on shopify’s CDN and now they seem to convert to JPG. When did this happen and why did it happen as it has now broken our store functionality. It’s an easy change to fix but from what I can see there has been no heads up to anyone that this change was happening.

As you can see the documentation it states it accepts JPEG which is all good, but it converts it to the .JPG MIME type/extension once uploaded

We have used the attached format for the last 14 months.

Hi,

Have you found an answer to this or maybe a work-around?

Thanks!