image gallery code

rooster

New Member
I am looking to create an image gallery on my website.

i am decent at coding, but need some help.
I am looking for a code to where I can have a gallery to every picture inside the folder. say I have 100 pictures in a folder named "pics123" on my server. Is there a way to code a gallery to where every picture in the folder will appear in the gallery without putting every image in the coding?

thanks!
 

hodephdesign

New Member
In the past I've just used javascript to dynamically list all of the images and in the correct format (ie in a list, inside an anchor) and then use a jQuery gallery plugin in accordance. This does require your images to have similar names though.

You could also use PHP to read the contents of the file (something like this: http://www.the-art-of-web.com/php/dirlist/1/).

These are a few jQuery plugins we've used in the past:

http://shadowbox-js.com/
http://nivo.dev7studios.com/
http://www.tn3gallery.com/

Or a full screen solution:

http://www.buildinternet.com/project/supersized/
 

bowenac

New Member
You can check out my gallery http://www.adamcbowen.com/Gallery

All you have to do is upload the images to a folder, and then load the gallery page and it auto adds the thumbs... I am using fancy box with this as well.

If you are interested I can zip the files required and post it here.
 

rooster

New Member
Thanks everyone for your input. This project got put on hold, but I will start it again tomorrow hopefully. Thanks again!
Ill post what worked the best for me too.
 
Top