title: RSS feed and size of images
body: <p>I have this RSS feed working on my site but the images are way too big. Is there any way to make them smaller. The images come with the description element.</p>
  
  <pre><code>&lt;?php
      $rss = new DOMDocument();
      $rss-&gt;load('http://www.keilir.net/is/feed/');
      $feed = array();
      foreach ($rss-&gt;getElementsByTagName('item') as $node) {
       $item = array (
        'title' =&gt; $node-&gt;getElementsByTagName('title')-&gt;item(0)-&gt;nodeValue,
        'desc' =&gt; $node-&gt;getElementsByTagName('description')-&gt;item(0)-&gt;nodeValue,
        'link' =&gt; $node-&gt;getElementsByTagName('link')-&gt;item(0)-&gt;nodeValue,
        'date' =&gt; $node-&gt;getElementsByTagName('pubDate')-&gt;item(0)-&gt;nodeValue,
         );
       array_push($feed, $item);
       }
  $limit = 2;
  for($x=0;$x&lt;$limit;$x++) {
      $title = str_replace(' &amp; ', ' &amp;amp; ', $feed[$x]['title']);
      $link = $feed[$x]['link'];
      $description = $feed[$x]['desc'];
      $date = date('l F d, Y', strtotime($feed[$x]['date']));
      echo '&lt;p&gt;&lt;strong&gt;&lt;a href="'.$link.'" title="'.$title.'"&gt;'.$title.'&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;';
      echo '&lt;small&gt;&lt;em&gt;Posted on '.$date.'&lt;/em&gt;&lt;/small&gt;&lt;/p&gt;';
      echo '&lt;p&gt;'.$description.'&lt;/p&gt;';
      }
  ?&gt;
  </code></pre>