←  Code Block

Fallout Studios Forums

»

[HTML/XHTML] Any Photo Galleries that auto...

Silence's Photo Silence 23 Aug 2008

Well, here I am again.

I would like to ask if anyone knew of a Photo Gallery(Customizable) that auto-updates itself, I mean you dont need to manually type image names, it just reads a folder and shows every photos in it. Something like that. Thanks
Quote

CodeCat's Photo CodeCat 23 Aug 2008

Yes that's possible and very easy, but it won't be possible to give the pictures names, other than the file names.
Quote

Silence's Photo Silence 23 Aug 2008

okay. thanks for quick reply. so how can I managed to do it?
Quote

CodeCat's Photo CodeCat 23 Aug 2008

You'll need to use PHP to read all the files in the directory, pick out the files that are images, and then show them in a table one by one.
Quote

Silence's Photo Silence 24 Aug 2008

If there is a guide I can read maybe you would like to show it to me. So that I can follow, Im kinda new with PHP but I am willing to learn. :drunk:
Quote

Silence's Photo Silence 25 Aug 2008

Okay, so far so good, I have a fully functioning gallery now.

Now, how can I insert it into a <div> tag?
Quote