title: Zend Framework Can't determine mime type of image upload
body: <p>Hi all I'm trying to upload a image when creating a item in my app, however the action fails returning the following error: <strong>The mimetype of file 'mytestimage.jpg' could not be detected</strong>.
  I've tried adding a Mime Type validator but the error persists, can anyone tell me where I'm going wrong in the code below.</p>
  
  <pre><code>// Image uploads
  $images = new Zend_Form_Element_File('images');
  $images-&gt;setMultiFile(2)
         -&gt;addValidator('IsImage')
         -&gt;addValidator('Size',false,'5242880')
         -&gt;addValidator('Extension',false,'jpg,png,gif')
         -&gt;addValidator('ImageSize',false,array(
                   'minwidth' =&gt; 250,
                   'minheight'=&gt;250,
                   'maxwidth'=&gt;500,
                   'maxheight'=&gt;500
                   ))
         -&gt;setValueDisabled(true);
  </code></pre>
  
  <p>Many thanks in advance.</p>
  
  <p>Graham</p>