Semi-automatically cleanup (dimensions of) photo galleries

This commit is contained in:
2016-02-08 16:25:03 +00:00
parent a6a8054273
commit fa3ec81f8d
78 changed files with 1218 additions and 2112 deletions

View File

@@ -222,8 +222,7 @@ $oConsole
if (count($aLongitude) > 0) {
$aGallery['map'] = [
'latitude' => array_sum($aLatitude) / count($aLatitude),
'longitude' => array_sum($aLongitude) / count($aLongitude),
'zoom' => 8
'longitude' => array_sum($aLongitude) / count($aLongitude)
];
}
$aGallery['photos'] = $aPhotos;