title: PHP: How can exif_imagetype() function accept JPG files (instead of JPEG ones)?
body: <p>I'm using the PHP <a href="http://php.net/manual/en/function.exif-imagetype.php" rel="nofollow">exif_imagetype()</a> function, and trying to accept these types of images:</p>
  
  <p>IMAGETYPE_PNG</p>
  
  <p>IMAGETYPE_<strong>JPEG</strong></p>
  
  <p>IMAGETYPE_GIF</p>
  
  <p>But there's no IMAGETYPE_<strong>JPG</strong> imagetype constant, so all .jpg files are not accepted. Is there any solution to this?</p>