Image Gallery With Thumbnails

Advertisement

I want a page where I will have an image gallery. The page when loaded goes and grabs all the picutres in the directory and puts them into an array, creating thumbnails for them as well (found this part in my search).

After the thumbnails are loaded, I want the pictures to be loaded in the same window, in a section underneath the thumbnails. Also Can I scroll the thumbnails left or right on mouseover? not in a full circle but left until the first one is encountered and right until the last picuture is showed?