Add 'image' type/extensions to wp_ext2type() and make it case insensitive. props xparham. fixes #25176.

git-svn-id: https://develop.svn.wordpress.org/trunk@25437 602fd350-edb4-49c9-b593-d223f7449a82