title: Can I "echo" a .jpg image through php without processing it?
body: <p>Imagine the following:</p>
  
  <pre><code>&lt;img src="/image.php?image=5.jpg" /&gt;
  </code></pre>
  
  <p>Now, in <code>image.php</code>:</p>
  
  <pre><code>header('content-type: image/jpeg');
  $image = imagecreatefromjpeg($_GET['image']);
  imagejpeg($image,NULL,100);
  </code></pre>
  
  <p>This works, but this way the script loads the image, processes it, then echoes it. Can this be done without processing the image?</p>
  
  <p>The reason why I want to do it this way is that I don't want people to know where the images are located, therefore I don't want to write the full path into the <code>img</code> src attribute.</p>
  
  <p>I just need to send raw images to the browser, but without revealing their true location.</p>