title: PNG files won't be displayed but JPEG and GIF work fine on Apache/CentOS
body: <p>I have a website that is running on CentOS 6 and Apache 2. If I try to load any page with PNG images in it the image is shown as a broken link - I get the same issue if I go directly to the image file in the browser. I have tried this in Chrome, Firefox and Safari all with the same results so I am guessing it is server side.</p>
  
  <p>Looking at the apache logs I can see that the file is being served up and returning a http 200 code.</p>
  
  <p>There is an entry for PNG in mime.types and adding the following to httpd.conf makes no difference:</p>
  
  <pre><code>AddType image/png .png
  </code></pre>
  
  <p>I have also removed the .htaccess to ensure that nothing in there could be affecting it to no avail.</p>
  
  <p>This happens for all PNG files which have the same permissions as the JPEGs that work fine.</p>
  
  <p>Can't think what else to try, any ideas?</p>