<style type="text/css">
.collumn
{
border-style: solid;
border-width: 2;
border-color: black;
}
.image
{
width: 100;
height: 100;
}
</style>
<html>
<head>
<title>
isplay</title>
<table>
<tr>
</table>
</body>
</html>
$fPath = basename('/Images/'
;
$count = -1;
if ($handle = opendir($fPath))
{
}
while (false !== ($file = readdir($handle)))
{
}
if ($file != "." && $file != "..")
{
if ($count == 3)
{
$count = 0;
}
else
{
$count++;
}
}
print "<tr/>\n<tr>\n";
print "<td class='collumn'>";
print "<img class='image' src='$fPath/$file' />";
print "</td>\n";
closedir($handle);
if ($count !== 0)
{
print "<tr/>";
}
<html>
<head>
<title>
isplay</title>
<style type="text/css">
.collumn
{
border-style: solid;
border-width: 2;
border-color: black;
}
.image
{
width: 100;
height: 100;
}
</style>
</head>
<body>
<table>
<tr>
<?php
$fPath = basename('/Images/'
;
$count = -1;
if ($handle = opendir($fPath))
{
while (false !== ($file = readdir($handle)))
{
if ($file != "." && $file != "..")
{
if ($count == 3)
{
$count = 0;
print "<tr/>\n<tr>\n";
}
else
{
$count++;
}
print "<td class='collumn'>";
print "<img class='image' src='$fPath/$file' />";
print "</td>\n";
}
}
}
closedir($handle);
if ($count !== 0)
{
print "<tr/>";
}
?>
</table>
</body>
</html>
Copyright © 2026, NextGenUpdate.
All Rights Reserved.