image gallery code

Discussion in 'Scripts' started by rooster, Dec 12, 2011.

to remove all ads.
  1. rooster

    rooster New Member

    Messages:
    43
    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!
     
  2. DesignerBill

    DesignerBill New Member

    Messages:
    145
    Search on Google for "PHP image gallery scripts".
     
  3. conor

    conor New Member

    Messages:
    348
  4. craigtheartist

    craigtheartist New Member

    Messages:
    3
    I would go with jquery. They have tons of image gallery options.
     
  5. Sogo7

    Sogo7 New Member

    Messages:
    20
  6. che09

    che09 New Member

    Messages:
    337
  7. hodephdesign

    hodephdesign New Member

    Messages:
    3
    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/
     
  8. bowenac

    bowenac New Member

    Messages:
    57
    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.
     
  9. rooster

    rooster New Member

    Messages:
    43
    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.
     

Share This Page