Incorrect mime type breaks jpg support
-
media-features.php line 296
image/jpg is not a valid mime type.
it should be image/jpeg
This breaks the built in image editor, and likely many other things, as GD and imagemagick test for support against ‘image/jpeg’ only. By overriding with the incorrect mimetype you are causing wordpress to think they don’t support jpgs.
It’s a really easy fix. I hope you do it. It took me a few hours to track down the cause of the issue as it is not obvious and someone who isn’t a programmer would spend much longer and likely give up, only solving the problem after removing plugins 1 by 1 until they narrowed it down to this one.
- The topic ‘Incorrect mime type breaks jpg support’ is closed to new replies.