How to fit image in td html css / dompdf
<p>Basically, I create a pdf using dompdf. But, dompdf is listening common css and html. So, I have a table in html. There is a <code>&lt;td&gt;</code> which is contains a lot of image.</p>

<p>Is it possible to manipulate this <code>&lt;td&gt;</code> know if image does not fit , so image will be continous below previous image.</p>

<p>This is my code.</p>

<pre><code>**CSS**
table, td, th {
            border: 1px solid black;
        }

table {
       border-collapse: collapse;
       width: 100%;
        }

.table-no-border tr td th{
      border : none;
 }

 td {
    height: 50px;
    vertical-align: middle;
    text-align: center;
  }

**HTML**
&lt;tbody&gt;
    &lt;?php
       $no = 1;
          foreach ($image-&gt;result() as $row) {
               $file_thumb = explode(", ", $row-&gt;FILE_THUMB);
               echo "&lt;tr&gt;";
                 echo "&lt;td style='vertical-align: text-top ; text-align: left;'&gt;$no&lt;/td&gt;";
                 echo "&lt;td style='vertical-align: text-top ; text-align: left;'&gt;$row-&gt;SPEC &lt;br&gt; $row-&gt;CONTRACT_NO &lt;br&gt; $row-&gt;SIZE &lt;br&gt; $row-&gt;COIL_NO&lt;/td&gt;";

                // a lot of image in td //
                 echo "&lt;td&gt;";
                    for ($i = 0; $i &lt; count($file_thumb); $i++) {
                        echo "&lt;img src= '$file_thumb[$i]' &gt;";
                    }

                echo "&lt;/td&gt;";

                echo "&lt;td style='vertical-align: text-top ; text-align: left;'&gt;$row-&gt;CHECK_LIST&lt;/td&gt;";
                echo "&lt;/tr&gt;";
            $no++;
          }
   ?&gt;
 &lt;/tbody&gt;
</code></pre>

<p>This is looked now <a href="https://i.stack.imgur.com/ZgI2X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZgI2X.png" alt="Description"></a></p>

<p>Any help it so appreciated</p>