Seems I've run into a small snag. The counter for the gallery view leaves out a photo. It counts 1 to 5 then skips 6 and goes to 7. Any ideas on why or how I can fix that.
PHP Code:
$column_limit = 5; //change to however many columns you want
$column_counter = 0;//column counter
if($column_counter == $column_limit)
{
echo '</tr><tr>'; //End current row, and start a new row.
$column_counter = 0; //reset the column counter
}
Also,
I want to create a page that shows only one picture. How do I call that one picture with a URL string. Ex. index.php?photo=25
I've tried to think that out all night, and I've gotten nowhere