title: Return Image from Controller symfony2
body: <p>I would like to know how can i return an image from the controller without any template.
  I would like to use it for pixel tracking in a newsletter.</p>
  
  <p>I start with this code</p>
  
  <pre><code>    $image = "1px.png";
      $file =    readfile("/path/to/my/image/1px.png");
      $headers = array(
          'Content-Type'     =&gt; 'image/png',
          'Content-Disposition' =&gt; 'inline; filename="'.$file.'"');
      return new Response($image, 200, $headers);
  </code></pre>
  
  <p>But on the navigator i have a broken link (file not found...)</p>