Dreamhost + Gallery2 + list directory

I have a Gallery2 instalation and the folder data is

Albums are created in

Each album is in a different folder, like this

/home/myuser/mydomain.com_gallery_g2data/albums/new_album_1/ /home/myuser/mydomain.com_gallery_g2data/albums/new_album_2/

I’m trying to create a PHP page to list all files inside a folder album

access through:

How can I do that?
any help is welcome.
Thanks in advaced

(sorry for my english. This is not my primary language)