Hi friends,
i am trying to create a media gallery which will display images from a folder. I have sorted the images into a separate folders according to years i.e (2011,2010,2009). which i will be using as navigation.

so far i've been able to list the folders in the directory which i am using as my navigation.


i want to show images in a folder when its it clicked. Example if 2011 is clicked it will show all images in that folder, preferably without reloading the page.

here is a picture; attempt to make what i am trying to achieve clearer.

Is this possible and how can i go about achieving this.

Thank you FRIENDS!