title: how to display image content of a Zip file without extracting its content first with php?
body: <p>I tried this but not work</p>
  
  <pre><code>&lt;?php
    $za = new ZipArchive();
  
    $za-&gt;open('zip1.zip');
  
    for ($i=0; $i &lt; $za-&gt;numFiles ; $i++) { 
      $stat = $za-&gt;statIndex($i);
      print_r("&lt;img src=" .basename($stat['name']) . PHP_EOL . "/&gt;");
    }
  ?&gt;
  </code></pre>