can anyone help me build a pseudo-code for an image gallery?
I just want to display one picture but i would like a lnk below to switch to
the next one,
I read out the Directory, and if it's jpeg, i resize it and display it.
I got follow idea:
echo "<img src='resize.php?=".$actual_pic."'>";
echo "<a href='thisfile.php?last_pic=".$actual_pic.">";
but how do I do the 2nd line "$last_pic+1"?
I now get the pictures out of the Dir this way:
while PicDir is a define Var.
I think it should work anything like this:
$picture = ...