main
getAlbums
function getAlbums() { try { // Read the JSON file $jsonFile = '../gallery/data.json'; $data = json_decode(file_get_contents($jsonFile), true);