item->filename;
$imgLink		= HTMLHelper::_( 'image', 'images/phocagallery/'. $this->item->filenameno, '');
$extImage = PhocaGalleryImage::isExtImage($this->item->extid);
if ($extImage) {
	$title		= $this->item->title;
	$imgLink	= HTMLHelper::_( 'image', $this->item->exto, '');
}
if (isset($this->t['backbutton']) && $this->t['backbutton'] != '') {
	echo $this->t['backbutton'];
	echo '
' . $imgLink . '
';
	echo '
' . $imgLink . '
';
	echo '
';
} else {
	//echo '
' . $imgLink. '
';
	echo '
' . $imgLink. '
';
	echo '
'
		.'
'
		.'| ' . Text::_('COM_PHOCAGALLERY_IMAGE_NAME') . ': | '.$title.' | 
'
		.'| ' . Text::_('COM_PHOCAGALLERY_IMAGE_FORMAT') . ': | '.$this->item->imagesize.' | 
'
		.'| ' . Text::_('COM_PHOCAGALLERY_IMAGE_SIZE') . ': | '.$this->item->filesize.' | 
'
		.'| ' . Text::_('COM_PHOCAGALLERY_DOWNLOAD_IMAGE') . ' | 
';
		switch($this->t['detailwindow']) {
			case 3:
			case 4:
			case 5:
			case 7:
			case 9:
			case 10:
			break;
			default:
				//echo '|  | '.str_replace("%onclickclose%", $this->t['detailwindowclose'], $this->item->closetext).' | 
';
			break;
		}
	echo '
';
	echo '
';
}
echo '
';//because of loaded slideshow js
if ($this->t['detailwindow'] == 7) {
    echo PhocaGalleryUtils::getExtInfo();
}
?>