title: PHP: image with echo not showing the echo word just the image
body: <p>A script can get a image stored and display it on .php like example:</p>
  
  <pre><code>&lt;?php
  $im = imagecreatefrompng("test.png");
  
  header('Content-Type: image/png');
  
  imagepng($im);
  imagedestroy($im);
  ?&gt;
  </code></pre>
  
  <p>my problem is when I put something like</p>
  
  <pre><code>echo 'a word here';
  </code></pre>
  
  <p>it shows the image but the echo part is not showing. there's a possible solution about this? like i don't want to put the image script to other .php file and read it on the other .php script. I want the image and the echo in the same script page. is it possible?</p>