title: How to load external images faster?
body: <p>I have a database, that stores items and a link to an image for every item. Now the images can't be storen localy (there wouldn't be anough space and other reasons as well), so I link to images on other servers.</p>
  
  <p>When I wan't to display the items (with it's image), I run while statement with mysql_fetch_array like this (simplified):</p>
  
  <pre><code>$result = mysql_query("SELECT * FROM items");
  
  while($row = mysql_fetch_array($result)) {
  
  echo "&lt;h1&gt;".$row['name']."&lt;/h1&gt;";
  echo "&lt;img width='200' src='".$row['img']."' /&gt;";
  
  }
  </code></pre>
  
  <p>But the image load takes forever, because some of the external images have large sizes, however I only need it 200px wide.</p>
  
  <p>Is there a way to smaller the image 'on the go', or something to speed the loading up?</p>
  
  <p>(Using php/html)</p>
  
  <p>Thanks, Mike.</p>