title: CakePHP - Image cannot be displayed because it contains errors
body: <p>While serving images through CakePHP, I'm getting</p>
  
  <blockquote>
    <p>The image
    "<a href="http://DOMAIN/PLUGIN/images/image.png" rel="nofollow noreferrer">http://DOMAIN/PLUGIN/images/image.png</a>"
    cannot be displayed, because it
    contains errors.</p>
  </blockquote>
  
  <p>There is a bug report already existing, <a href="http://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets/864" rel="nofollow noreferrer">http://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets/864</a></p>
  
  <p>As mentioned in the above bug report, whitespace is the culprit here. Can someone throw some light upon where exactly I have to look for these white spaces? I've checked at the end of all my files, there are no white spaces. So where else should I be checking for these white spaces?</p>
  
  <p>Thanks in advance for your time.</p>