light box modal for images in a web page
<p>The following code is to retrieve 3 images and display in a table! i have imported the necessary jquery library and css script to implement the light box modal! </p>

<pre><code>            &lt;?php
                require("includes/db.php");

                $sql="SELECT * FROM `order` ";
                $result=mysqli_query($db,$sql);
    echo"&lt;head&gt;";
    echo"&lt;link rel='stylesheet' href='lightbox.css'&gt;";
    echo"&lt;script type='text/javascript' src='lightbox.min.js'&gt;";
    echo"&lt;/script&gt;";
    echo"&lt;/head&gt;";

    echo "&lt;body bgcolor=#E6E6FA&gt;";
    echo "&lt;table border=1 cellspacing=0 cellpadding=4 &gt; " ;
while($row=mysqli_fetch_array($result))
{
  echo '&lt;a href='.( $row['Image1'] ).'  data-lightbox="gallery"  &gt;';
   echo "&lt;img src='" .$row['Image1']. "' height='200' width='200'/&gt;";
    echo "&lt;/a&gt;";


    echo "&lt;br&gt;";
     echo"&lt;/td&gt;";
    echo"&lt;td align=center &gt;";


    if($row['Image2']=="No copy"){
        echo "No copy";
    }
    else{
     echo '&lt;a href='.( $row['Image2'] ).' data-lightbox="gallery" &gt;';
   echo "&lt;img src='" . $row['Image2'] . "' height='200' width='200'/&gt;";
    }
    echo "&lt;/a&gt;";


    echo "&lt;br&gt;";
     echo"&lt;/td&gt;";
      echo"&lt;td align=center &gt;";

  if($row['Image3']=="No copy"){
        echo "No copy";
    }
    else{
     echo '&lt;a href='.( $row['Image3'] ).'  data-lightbox="gallery"  &gt;';
   echo "&lt;img src='" . $row['Image3'] . "' height='200' width='200'/&gt;";
    }
   echo "&lt;/a&gt;";


    echo "&lt;br&gt;";


     echo"&lt;/tr&gt;";

}
echo "&lt;/table&gt;";

   ?&gt; 
</code></pre>

<p>The above code does not work please help me! how do i need to corrrect the code?     I get the following errors in the developer tools!</p>

<pre><code>lightbox.min.js:12 Uncaught TypeError: a is not a function
http://localhost/project1/test/images/close.png Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/project1/test/images/prev.png Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/project1/test/images/next.png Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/project1/test/images/loading.gif Failed to load resource: the server responded with a status of 404 (Not Found)
</code></pre>