Sigplus + DJ Webp + Joomla 3.9.27?

Добрый вечер, использую данную связку, но как я понял после включения dj webp сигплюс выводит 2 изображения. ставлю здесь значение 1, на главной и в модулях по 1 фото отображаются, но в галерее повторы остаются и в материалах, почему-то не показываются первые фото. Сайт prosalsk.ru

print '
  • ';
    for ($index = 0; $index < $limit; $index++) {

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

if (!empty($images)) {
// Gallery wrapper prologue
print '<div id="'.$galleryid.'" class="'.$gallerystyle.'">';

// List of images shown directly on the page
print '<noscript class="sigplus-gallery">';  // provide fall-back to a bare-bone gallery implementation when scripting is disabled in the browser
print '<ul>';
for ($index = 0; $index < $limit; $index++) {
// no maximum preview image count set or current image index is within maximum limit
print '<li>';
$this->printImage($images[$index], $index, $total);
print '</li>';
}
print '</ul>';
print '</noscript>';

// List of images that appear only in the lightbox pop-up window
if ($curparams->maxcount > 0 && $curparams->lightbox !== false) {
// if lightbox is disabled, user cannot navigate to images beyond maximum image count
for (; $index < $total; $index++) {
$this->printImage($images[$index], $index, $total, 'display:none !important;');
}
}

// Gallery wrapper epilogue
print '</div>';
} else {
print JText::_('SIGPLUS_GALLERY_EMPTY');
}
  • Вопрос задан
  • 91 просмотр
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы