php class html-dom dosen’t return all the html

I want to retrieve all .gif links from

the all of gif links have /product in their link.

My code is:

 * Created by PhpStorm.
 * User: saleh
 * Date: 10/16/17
 * Time: 9:58 PM
header('Content-Type: text/html; charset=utf-8');
// example of how to use basic selector to retrieve HTML contents

// get DOM from URL or file
$html = file_get_html('');
// find all image with full tag
foreach($html->find('a') as $e){
    if (isset($e->attr['href'])) {
        if (strstr($e->attr['href'], "/product")) {
            if ($c == $e->attr['href']) {
            } else {
                echo $e->attr['href'] . "n";
                $c= $e->attr['href'];

But it returns only 10 links. What should I do to get all the links to return?

For more info please click here

Have a question or need a custom quote?