title: Extract all images from a Joomla article
body: <p>I have this code that extracts the first image from an article in joomla:</p>
  
  <pre><code>&lt;?php preg_match('/&lt;img (.*?)&gt;/', $this-&gt;article-&gt;text, $match); ?&gt;
  &lt;?php echo $match[0]; ?&gt;
  </code></pre>
  
  <p>Is there a way to extract all the images that are available in the article and not only one?</p>