https://github.com/dimsemenov/PhotoSwipe/issues/753
2020-09-18 установил плагин SwipeGestures в галерею
https://github.com/acrylian/swipe_gestures
Перевел копирование фоток на web-сервер на nfs
В виртуалке nas:
Установил zenphoto 1.5.1
установил php 7.1 по отдельной инструкции
Переход zenphoto на php7
1. Выполнял команды командной строки
Различия в измененных мной файлах при переходе с 1.4.7 на 1.4.10
functions.php:499 sortByMultilingual():$result[] = $dbresult[$key]; вместо $result[$key] = $dbresult[$key];
Механизм тегов в zenphoto
ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ: $_zp_unique_tags, $_zp_unique_tags_excluded;
Модернизация zenphoto
подключение дубликата папки albums в режиме RO
zenphoto: функция printAllTagsAs в template-functions.php:3451
/** * Either prints all of the galleries tgs as a UL list or a cloud * * @param string $option "cloud" for tag cloud, "list" for simple list * @param string $class CSS class * @param string $sort "results" for relevance list, "random" for random ordering, otherwise the list is alphabetical * @param bool $counter TRUE if you want the tag count within brackets behind the tag * @param bool $links set to TRUE to have tag search links included with the tag. * @param int $maxfontsize largest font size the cloud should display * @param int $maxcount the floor count for setting the cloud font size to $maxfontsize * @param int $mincount the minimum count for a tag to appear in the output * @param int $limit set to limit the number of tags displayed to the top $numtags * @param int $minfontsize minimum font size the cloud should display * @param bool $exclude_unassigned True or false if you wish to exclude tags that are not assigne to any item (default: true) * @param bool $checkaccess True or false (default: false) if you wish to exclude tags that are assigned to items (or are not assigned at all) the visitor is not allowed to see * Beware that this may cause overhead on large sites. Usage of the static_html_cache is strongely recommended then. * @since 1.1 */