pics); $numberBars = ceil($numberPics / $thumbsPerSlide); $galleryId = (string)$itemData->itemId; $addGalleryNumber = '0'; // main gallery if ($numberPics == 1) : $isLast = 'true'; else : $isLast = 'false'; endif; ?>
pics as $picture) : $leftPosition = $imgCounter * 100; if ($imgCounter == 0) : $classActive = ' yoglry-active'; else : $classActive = ''; endif; ?>
1) : echo 'src="' . $this->imagePaths['placeholderImg'] . '" data-src="' . $picture['url'] . '"'; else : echo 'src="' . $picture['url'] . '" data-src=""'; endif; ?> alt="">
1 /
picsThumb)) : if ($numberPics <= $thumbsPerSlide) : $isLast = 'true'; else : $isLast = 'false'; endif; $maxLoad = ($thumbsPerSlide * 2) - 1; ?>
picsThumb as $picture) : $leftPosition = $imgCounter * (100 / $thumbsPerSlide); if ($imgCounter == 0) : $classActive = ' yothumbglry-active'; else : $classActive = ''; endif; ?>
$maxLoad) : echo 'src="' . $this->imagePaths['placeholderImg'] . '" data-src="' . $picture['url'] . '"'; else : echo 'src="' . $picture['url'] . '" data-src=""'; endif; ?> alt="">
picsMax)) : if ($numberPics == 1) : $isLast = 'true'; else : $isLast = 'false'; endif; ?>
picsMax as $picture) : $leftPosition = $imgCounter * 100; if ($imgCounter == 0) : $classActive = ' yomaxglry-active'; else : $classActive = ''; endif; if (!empty($picture['link'])) : $aBegin = ''; $aEnd = ''; else : $aBegin = ''; $aEnd = ''; endif; ?>
0) : echo 'src="' . $this->imagePaths['placeholderImg'] . '" data-src="' . $picture['url'] . '"'; else : echo 'src="' . $picture['url'] . '" data-src=""'; endif; ?> alt="">
1 /
x