using PHP Simple HTML DOM Parser to find <img> and height
<p>I'm using PHP Simple HTML DOM Parser to return multiple images from external pages. I need to minimize the amount of images that are returned by only returning images with a width greater than 50px and a height greater that 60px. </p>

<p>How can I use PHP Simple HTML DOM Parser to pull the height and width of each image as it runs and only returning the images that meet the requirements above?</p>

<p>Thanks!</p>

<p>EDIT added code</p>

<p>So far, this is what I have.</p>

<pre><code>foreach($html-&gt;find('img') as $element) {
    $images = $element-&gt;src;
    echo $images;
}
</code></pre>
