title: IF image is too big, how do I reduce the size?
body: <p><a href="http://kiddiessupportscheme.org/newsite/index2.php?op=News" rel="nofollow">My Website</a></p>
  
  <p>On the above link you can see that the middle news post has an image that is just too big. 
  The info for the news is taken out of a database so I'm not sure how to change the width of the image on only certain images. Ideally I'd like to have any image that is over 300px wide to be kept at 300px. This is what I have so far:</p>
  
  <pre><code>echo '&lt;img src="media/'.$row['media1'].'" class="floatLeftClear" id="border"&gt;';
  </code></pre>
  
  <p>I tired adding width="300" to the above statement but that made ALL of the images become 300px which I don't want. I only want images bigger than 300px to be reduced to 300.</p>
  
  <p>Can someone point me in the right direction please!</p>