echo "<div style = 'text-align:center;width:200px;'>" ; echo "<div height = '175px;'>"; echo "<img src='..".$row["FilePath"]."/".$row["FileName"]."' width ='200px' height = '175px' style ='float:left;' onclick='image(this)' ></img>"; echo "</div>"; echo "<p width = '200px'> ".$row["filetitle"]." </p>"; echo "</div>"; echo "</td>";
<script type="text/javascript"> function image(img) { var src = img.src; window.open(src); } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)