i don't know if it's bug or purpose. But Photoswipe function only on one gallery to page. For multiple use on one page i modified
row 1883
Code: Select all
if ($tmpl['detail_window'] == 14) {
$output .= PhocaGalleryRenderDetailWindow::loadPhotoswipeBottom();
}
Code: Select all
if ($count_matches-1 == $i)
{
if ($tmpl['detail_window'] == 14) {
$output .= PhocaGalleryRenderDetailWindow::loadPhotoswipeBottom();
}
}