Jump to content


[HTML/XHTML] Any Photo Galleries that auto-updates?


6 replies to this topic

#1 Silence

    Semi-Pro

  • Member
  • 238 posts
  • Projects: Maintaning the N00Bity of people~

Posted 23 August 2008 - 12:27

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
Posted Image

#2 CodeCat

    It's a trap!

  • Gold Member
  • 6111 posts

Posted 23 August 2008 - 13:23

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

Posted Image
Posted Image

Go dtiomsaítear do chód gan earráidí, is go gcríochnaítear do chláir go réidh. -Old Irish proverb

#3 Silence

    Semi-Pro

  • Member
  • 238 posts
  • Projects: Maintaning the N00Bity of people~

Posted 23 August 2008 - 14:31

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

#4 CodeCat

    It's a trap!

  • Gold Member
  • 6111 posts

Posted 23 August 2008 - 16:13

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.
CodeCat

Posted Image
Posted Image

Go dtiomsaítear do chód gan earráidí, is go gcríochnaítear do chláir go réidh. -Old Irish proverb

#5 Silence

    Semi-Pro

  • Member
  • 238 posts
  • Projects: Maintaning the N00Bity of people~

Posted 24 August 2008 - 00:08

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:
Posted Image

#6 Slightly Wonky Robob

    Not a Wonky Gent.

  • Administrator
  • 9333 posts

Posted 24 August 2008 - 14:14

http://phptoys.com/e107_plugins/content/co....php?content.54
Posted Image
F O R T H E N S
Posted Image

#7 Silence

    Semi-Pro

  • Member
  • 238 posts
  • Projects: Maintaning the N00Bity of people~

Posted 25 August 2008 - 02:14

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

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



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users