Quote:`I created an album object not?
I tried this too $ album_list = new Album ();`
No, you didn't as you didn't set any album name to create an object of. The examples on the link I posted actually describe that. I suggest to get a bit into PHP object basics first before trying this further. It's sadly out of scope of this forum to do so.
But if you just want a list with linked names I suggest to use the print_album_menu plugin instead. Its function `printAlbumMenu()` would do right away what you want. Please pay atention to the parameters to set. http://www.zenphoto.org/documentation/plugins/_zp-extensions---print_album_menu.php.html#functionprintAlbumMenu