'. "\n";
$path_parts = pathinfo($bigPic);
$extension='.'.$path_parts['extension'];
$ImageFileName = basename($bigPic);
$bigPicName = basename($bigPic, $extension);
// Set big pic captions
switch($bigPicCaption)
{
case "name":
$output .= '
'.$bigPicName.'
'."\n";
break;
case "number":
$output .= '
'.($_GET['img']+1).'
'."\n";
break;
case "file":
$output .= '
'.$ImageFileName.'
'."\n";
break;
case "none":
break;
default:
$output .= '
'.$bigPicName.'
'."\n";
break;
}
//Set Image
$output .= '

' . "\n";
$output .= ($_GET['img'] == 0) ? "" : "
< Previous | ";
$output .= "
Index";
$output .= ($_GET['img'] == (sizeOf($liste)-1)) ? "" : " |
Next > ";
$output .= '