=$this->images[0]->html($params[SEImageBox::DATA_BIG_SIZE],$params[SEImageBox::DATA_FULL_SIZE],"se-eshop")?>
if ($this->getParam(SEImageBox::DATA_LABEL_TEXT)): ?>
=specChars($this->getParam(SEImageBox::DATA_LABEL_TEXT))?>
endif; ?>
$smallCount=$params[SEImageBox::DATA_SMALL_COUNT];
if (count($this->images)>1):
echo '
';
foreach($this->images as $index=>$obr) {
if ($index==0) continue;
if ($index<=$smallCount) echo $obr->html($params[SEImageBox::DATA_SMALL_SIZE],$params[SEImageBox::DATA_FULL_SIZE],"se-eshop");
}
echo '
';
foreach($this->images as $index=>$obr) {
if ($index<=$smallCount) continue;
if (sluzba("photoswipe")) {
if ($index==$smallCount+1) {
$imageData = $obr->path($params[SEImageBox::DATA_FULL_SIZE], true);
echo '
'.SEDirector::tx("more-images","Více obrázků").'';
}
if ($index>$smallCount+1) {
$imageData = $obr->path($params[SEImageBox::DATA_FULL_SIZE], true);
echo '
';
}
} else {
if ($index==$smallCount+1) echo '
'.SEDirector::tx("more-images","Více obrázků").'';
if ($index>$smallCount+1) echo '
';
}
}
echo '