$image) { //For each image
if ($key == 24) break; //Break at the end
if ($key == 5 || $key == 10 || $key == 14 || $key == 19) echo "
"; //Create line breaks after each 5
if ($key == 12) echo "
";
$image_name = basename($image); //Create the middle space blue candle.
echo "
"; //Toggle border on click
}
?>