Okey... there is no other way than to ask for help... Ive tried everything
First of all, Ive installed the kys-gallery, but I need 5 pictures on a row, and then a new frame with 5 new pictures...
example:
[Frame]
1pic - 2pic - 3pic - 4pic - 5pic
[endFrame]
[newFrame]
6pic - 7pic - 8pic - 9pic -10pic
[endFrame]
etc.
Now its like:
[Frame]
1pic - 2pic - 3pic - 4pic - 5pic - 6pic - 7pic - 8pic - 9pic - 10pic
[endFrame]
[newFrame]
6pic - 7pic - 8pic - 9pic -10pic
[endFrame]
Now they're all on one row, and I need them to get like the first example, or not it wont work in an iframe.
So heres the thumbnail.php code:
Text Formatted Code
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>B.I.X - Gallery</title>
</head>
<body bgcolor="#336699" text="#336699"><style>
BODY { scrollbar-face-color: "#FFFFFF"; scrollbar-arrow-color: "#000000"; scrollbar-track-color: "#336699"; scrollbar-3dlight-color:"#000000"; scrollbar-darkshadow-color: "#000000"; }
</style>
<table border="1" bordercolor="#336699" cellpadding="0" cellspacing="0" id="AutoNumber1">
<tr bordercolor="#000000">
<? for ($i=1; file_exists("thumbnails/image".strval($i).".jpg"); $i++) {
$a=getimagesize("thumbnails/image".strval($i).".jpg");
$i=strval($i);
echo "<td width="".strval($a[0]).""><a href=preview.php?i=$i target=_blank><img border=0 src=thumbnails/image$i.jpg></a></td>";
} ?>
</tr>
</table>
<table border="1" bordercolor="#336699" cellpadding="0" cellspacing="0" id="AutoNumber1">
<tr bordercolor="#000000">
<? for ($i=6; file_exists("thumbnails/image".strval($i).".jpg"); $i++) {
$a=getimagesize("thumbnails/image".strval($i).".jpg");
$i=strval($i);
echo "<td width="".strval($a[0]).""><a href=preview.php?i=$i target=_blank><img border=0 src=thumbnails/image$i.jpg></a></td>";
} ?>
</tr>
</table>
</body>
</html>
I need to make it stop at 5 pictures, so it doesnt show all pictures after each other..and when I then set the